Sha256: ca8d14722833d523613070428fb37c874564869562141543b2302ae915834a96

Contents?: true

Size: 718 Bytes

Versions: 4

Compression:

Stored size: 718 Bytes

Contents

<table class="index">
  <thead>
    <tr data-hook="products_header">
      <th><%= t(:name) %></th>
      <th><%= t(:path) %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% products.each do |product| %>
      <tr id="<%= dom_id(product) %>" data-hook="products_row">
        <td><%= product.name %></td>
        <td><%= product_path product %></td>
        <td class="actions">
          <%= link_to_delete product, :url => remove_admin_question_product_url(@question, product), :name => icon('delete') + ' ' + t(:remove) %>
        </td>
      </tr>
    <% end %>
    <% if products.empty? %>
     <tr data-hook="products_none"><td colspan="3"><%= t(:none) %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_grid_faq-0.1.0 app/views/spree/admin/products/_question_product_table.html.erb
spree_grid_faq-0.0.9 app/views/spree/admin/products/_question_product_table.html.erb
spree_grid_faq-0.0.8 app/views/spree/admin/products/_question_product_table.html.erb
spree_grid_faq-0.0.7 app/views/spree/admin/products/_question_product_table.html.erb