Sha256: 61a3b33aa5189d371df40cf84018c356d7e7f6f64955485c1fa2a000695d0c9d
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
<tr id="<%= dom_id product_scope %>" data-hook="product_scope"> <td data-hook="description"> <label><%= t(:name, :scope => [:product_scopes, :scopes, product_scope.name]) %></label> <% if description = t(:description, :scope => [:product_scopes, :scopes, product_scope.name], :default => "") and description.present? %> <br /><%= description %> <% end %> </td> <td data-hook="arguments"> <% if arguments = Scopes::Product.arguments_for_scope_name(product_scope.name.strip) %> <table><tr> <% arguments.each_with_index do |argument, i| %> <td> <label><%= t(argument, :scope => [:product_scopes, :scopes, product_scope.name, :args]) %></label><br /> <%= hidden_field_tag "product_group[product_scopes_attributes][][id]", product_scope.id %> <%= product_scope_field product_scope, i %> </td> <% end %> </tr></table> <% end %> </td> <td class="actions" data-hook="actions"> <%= link_to_with_icon 'cross', '', admin_product_group_product_scope_path(@product_group, product_scope), :remote => true, :method => 'delete' %> </td> </tr>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_core-0.70.0.rc2 | app/views/admin/product_groups/_product_scope.html.erb |
spree_core-0.70.RC1 | app/views/admin/product_groups/_product_scope.html.erb |