Sha256: 30d372e55b5011afad3f82e82f376d7be22c1e6dfc77b41220fa6c8bf7f0438d

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

Contents

<table class="index">
  <thead>
  	<tr>
  	  <th><%= Spree.t(:sku) %></th>
  		<th><%= Spree.t(:name) %></th>
  		<th><%= Spree.t(:options) %></th>
  		<th><%= Spree.t(:qty) %></th>
  	</tr>
  </thead>
  <tbody>
    <% parts.each do |part| %>
      <tr id="<%= dom_id(part, :sel)%>">
        <td><%= part.sku %></td>
        <td><%= part.name %></td>
        <td><%= variant_options part %></td>
        <td><%= text_field_tag :count, part.count %></td>
  	    <td class="actions">
          <%= image_tag "spinner.gif", :style => "display:none", :class => "spinner" %>
          <%= link_to(icon('edit'),
                      set_count_admin_product_part_url(product, part),
                      :class => "set_count_admin_product_part_link fa fa-ok no-text") %>

          <%= link_to(icon('delete'), 
                      remove_admin_product_part_url(product, part),
                      :class => "remove_admin_product_part_link fa fa-trash no-text") %>
  	    </td>        
      </tr>
    <% end %>
    <% if parts.empty? %>
     <tr><td colspan="5"><%= Spree.t(:none) %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_product_bundle-1.0.1 app/views/spree/admin/parts/_parts_table.html.erb
solidus_product_bundle-1.0.0 app/views/spree/admin/parts/_parts_table.html.erb