Sha256: 0f6a16f9e08258d86fbb450603d9e913961d14a3f9bba0f2a9c0f57e01770312

Contents?: true

Size: 984 Bytes

Versions: 6

Compression:

Stored size: 984 Bytes

Contents

<script type="text/javascript">
  function displayRow(){
    var row = document.getElementById("captionRow");
    if (row.style.display == '') row.style.display = 'none';
    else row.style.display = '';
  }
</script>
<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_supplier_taxon_path(@supplier, 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

6 entries across 6 versions & 1 rubygems

Version Path
spree_suppliers-1.0.4 app/views/admin/supplier_taxons/available.js.erb
spree_suppliers-1.0.3 app/views/admin/supplier_taxons/available.js.erb
spree_suppliers-1.0.2 app/views/admin/supplier_taxons/available.js.erb
spree_suppliers-1.0.1 app/views/admin/supplier_taxons/available.js.erb
spree_suppliers-0.0.1 app/views/admin/supplier_taxons/available.js.erb
spree_suppliers-0.60.3 app/views/admin/supplier_taxons/available.js.erb