Sha256: 61dd8efa8fbe1de19decdfe31a0f69caa56480a4196f83a7d434a64b41b25d90

Contents?: true

Size: 982 Bytes

Versions: 3

Compression:

Stored size: 982 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

3 entries across 3 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/admin/taxons/available.js.erb
spree_core-0.30.1 app/views/admin/taxons/available.js.erb
spree_core-0.30.0 app/views/admin/taxons/available.js.erb