Sha256: e292e7dcd2ec66fd663a96c9adc71e20ecca75eb2f2d85f1c1e2c3af0594a45b

Contents?: true

Size: 1002 Bytes

Versions: 11

Compression:

Stored size: 1002 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>
    <% @available_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_product_taxon_path(@product, taxon),
                           :remote => true, :class => 'iconlink' %>
        </td>        
      </tr>
    <% end %>
    <% if @available_taxons.empty? %>
     <tr><td colspan="3"><%= t('no_match_found') %>.</td></tr>
    <% end %>
  </tbody>
</table>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_core-0.40.4 app/views/admin/taxons/available.js.erb
spree_core-0.50.4 app/views/admin/taxons/available.js.erb
spree_core-0.50.3 app/views/admin/taxons/available.js.erb
spree_core-0.60.0.RC1 app/views/admin/taxons/available.js.erb
spree_core-0.50.2 app/views/admin/taxons/available.js.erb
spree_core-0.50.1 app/views/admin/taxons/available.js.erb
spree_core-0.50.0 app/views/admin/taxons/available.js.erb
spree_core-0.40.3 app/views/admin/taxons/available.js.erb
spree_core-0.40.2 app/views/admin/taxons/available.js.erb
spree_core-0.40.1 app/views/admin/taxons/available.js.erb
spree_core-0.40.0 app/views/admin/taxons/available.js.erb