diff --git a/app/views/spree/admin/product_groups/_preview.html.erb b/app/views/spree/admin/product_groups/_preview.html.erb
index a2c2b47..a6f1532 100644
--- a/app/views/spree/admin/product_groups/_preview.html.erb
+++ b/app/views/spree/admin/product_groups/_preview.html.erb
@@ -3,7 +3,7 @@
<%= Spree::ProductGroup.human_attribute_name(:products) %> (<%= count %>)
<% if count == 0 %>
- <%= t(:no_match_found) %>
+ <%= Spree.t(:no_match_found) %>
<% else %>
<% if count > Spree::Config[:admin_pgroup_per_page] %>
@@ -14,7 +14,7 @@
<%= Spree::Product.human_attribute_name(:name) %> |
- <%= t(:action) %> |
+ <%= Spree.t(:action) %> |
@@ -24,7 +24,7 @@
<%= link_to product.name, product_url(product) %>
- <%= link_to t(:edit), edit_admin_product_path(product) %>
+ <%= link_to Spree.t(:edit), edit_admin_product_path(product) %>
|
<% end %>
diff --git a/app/views/spree/admin/product_groups/_product_scope.html.erb b/app/views/spree/admin/product_groups/_product_scope.html.erb
index a804cf9..5d9ea57 100644
--- a/app/views/spree/admin/product_groups/_product_scope.html.erb
+++ b/app/views/spree/admin/product_groups/_product_scope.html.erb
@@ -19,6 +19,6 @@
<% end %>
- <%= link_to_delete product_scope, url: admin_product_group_product_scope_path(@product_group, product_scope), :no_text => true %>
+ <%= link_to_with_icon 'cross icon-trash no-text', '', admin_product_group_product_scope_path(@product_group, product_scope), :remote => true, :method => 'delete' %>
|
diff --git a/app/views/spree/admin/product_groups/edit.html.erb b/app/views/spree/admin/product_groups/edit.html.erb
index 74f0328..0ae9cfd 100644
--- a/app/views/spree/admin/product_groups/edit.html.erb
+++ b/app/views/spree/admin/product_groups/edit.html.erb
@@ -7,7 +7,7 @@
<% content_for :page_actions do %>
<%= button_link_to Spree.t(:back_to_product_groups_list), admin_product_groups_url, :icon => 'icon-arrow-left' %>
-
+
<% end %>