Sha256: 614bf4e296f8944996d60a35e8237e30f3f7075046dd7fe1d22c40b0322d9e9a
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
<table class="index"> <thead> <tr> <th><%= t('spree.sku') %></th> <th><%= t('spree.name') %></th> <th><%= t('spree.available_on') %></th> <th><%= t('spree.options') %></th> <th><%= t('spree.qty') %></th> </tr> </thead> <tbody> <% parts.each do |part| %> <tr id="<%= dom_id(part, :sel)%>"> <td><%= part.sku %></td> <td><%= part.product.name %></td> <td><%= part.product.available_on %></td> <td><%= variant_options part %></td> <td><%= text_field_tag :count, @product.count_of(part) %></td> <td class="actions"> <%= link_to_with_icon( 'edit', t('spree.actions.edit'), set_count_admin_product_part_url(@product, part), :class => "set_count_admin_product_part_link save-line-item") %> <%= link_to_with_icon( 'trash', t('spree.actions.delete'), remove_admin_product_part_url(@product, part), class: "remove_admin_product_part_link delete-line-item") %> </td> </tr> <% end %> <% if parts.empty? %> <tr><td colspan="5"><%= t('spree.none') %>.</td></tr> <% end %> </tbody> </table> <%= javascript_tag("subscribe_product_part_links();") if request.xhr? %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_product_assembly-1.4.0 | app/views/spree/admin/parts/_parts_table.html.erb |
solidus_product_assembly-1.3.0 | app/views/spree/admin/parts/_parts_table.html.erb |