<% if description = t(:description, :scope => [:product_scopes, :scopes, product_scope.name], :default => "") and description.present? %>
<%= description %> <% end %> <% if arguments = Scopes::Product.arguments_for_scope_name(product_scope.name.strip) %> <% arguments.each_with_index do |argument, i| %> <% end %>

<%= hidden_field_tag "product_group[product_scopes_attributes][][id]", product_scope.id %> <%= product_scope_field product_scope, i %>
<% end %> <%= link_to_with_icon 'cross', '', admin_product_group_product_scope_path(@product_group, product_scope), 'data-remote' => true, 'data-method' => 'delete' %>