Sha256: f20301e3fe51bc8a925f94441dc87dc83b7e27fe658a7026e648e7cfffc95342

Contents?: true

Size: 751 Bytes

Versions: 4

Compression:

Stored size: 751 Bytes

Contents

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