Sha256: 08262ff0b37f2d4d2fea642c1b04154d2897aba3d78c1fc3d5dd3ae74cb9ad1e
Contents?: true
Size: 1.1 KB
Versions: 9
Compression:
Stored size: 1.1 KB
Contents
<tr id="<%= dom_id product_scope %>"> <td> <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> <% 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 %> <%= text_field_tag "product_group[product_scopes_attributes][][arguments][]", (product_scope.arguments || [])[i] %> </td> <% end %> </tr></table> <% end %> </td> <td class="actions"> <%= link_to_with_icon 'cross', '', admin_product_group_product_scope_path(@product_group, product_scope), 'data-remote' => true, 'data-method' => 'delete' %> </td> </tr>
Version data entries
9 entries across 9 versions & 1 rubygems