Sha256: 66233dc14b0bcfc0751b51347ecdf8aa7946e7ca0226b8bbb8fcfa2e569e1e2b

Contents?: true

Size: 771 Bytes

Versions: 4

Compression:

Stored size: 771 Bytes

Contents

<h4><%= t(:available_products) %></h4>
<table class="index">
  <thead>
    <tr>
      <th><%= t(:name) %></th>
      <th><%= t(:path) %></th>
      <th><%= t(:action) %></th>
    </tr>
  </thead>
  <tbody>
    <% @products.each do |product| %>
      <tr id="<%= dom_id(product, :sel) %>">
        <td><%= product.name %></td>
        <td><%= product_path product %></td>
        <td class="actions">
          <%= link_to icon(:add) + ' ' + t(:select),
                            select_admin_question_product_path(@question, product),
                           :remote => true, :class => 'iconlink' %>
        </td>
      </tr>
    <% end %>
    <% if @products.empty? %>
     <tr><td colspan="3"><%= t(:no_match_found) %>.</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/available_for_question.js.erb
spree_grid_faq-0.0.9 app/views/spree/admin/products/available_for_question.js.erb
spree_grid_faq-0.0.8 app/views/spree/admin/products/available_for_question.js.erb
spree_grid_faq-0.0.7 app/views/spree/admin/products/available_for_question.js.erb