Sha256: fd118e8a4309204a3d054ca17115569030f78a28463a9858661f2e5924955f00

Contents?: true

Size: 692 Bytes

Versions: 4

Compression:

Stored size: 692 Bytes

Contents

<table class="index">
  <thead>
    <tr data-hook="taxons_header">
      <th><%= t(:name) %></th>
      <th><%= t(:path) %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% taxons.each do |taxon| %>
      <tr id="<%= dom_id(taxon) %>" data-hook="taxons_row">
        <td><%= taxon.name %></td>
        <td><%= taxon_path taxon %></td>
        <td class="actions">
          <%= link_to_delete taxon, :url => remove_admin_question_taxon_url(@question, taxon), :name => icon('delete') + ' ' + t(:remove) %>
        </td>
      </tr>
    <% end %>
    <% if taxons.empty? %>
     <tr data-hook="taxons_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/taxons/_question_taxon_table.html.erb
spree_grid_faq-0.0.9 app/views/spree/admin/taxons/_question_taxon_table.html.erb
spree_grid_faq-0.0.8 app/views/spree/admin/taxons/_question_taxon_table.html.erb
spree_grid_faq-0.0.7 app/views/spree/admin/taxons/_question_taxon_table.html.erb