Sha256: b13ee327b3b59b1431ad5921b7ea3ada6947ab068b908c806e3229d4017fa56a
Contents?: true
Size: 1.29 KB
Versions: 8
Compression:
Stored size: 1.29 KB
Contents
<%= render :partial => 'admin/shared/configuration_menu' %> <div class="toolbar" data-hook="toolbar"> <ul class="actions"> <li> <p><%= button_link_to t(:new_tax_category), new_object_url, :icon => 'add', :id => 'admin_new_tax_categories_link' %> </p> </li> </ul> <br class="clear" /> </div> <h1><%= t(:listing_tax_categories) %></h1> <table class="index" id='listing_tax_categories' data-hook> <thead> <tr data-hook="tax_header"> <th><%= t(:name) %></th> <th><%= t(:description) %></th> <th><%= t(:default) %></th> <th></th> </tr> </thead> <tbody> <% @tax_categories.each do |tax_category| @edit_url = edit_admin_tax_category_path(tax_category) @delete_url = admin_tax_category_path(tax_category) %> <tr id="<%= dom_id tax_category %>" data-hook="tax_row"> <td><%= tax_category.name %></td> <td><%= tax_category.description %></td> <td><%= tax_category.is_default.to_s.titleize %></td> <td class="actions"> <%= link_to_edit tax_category, :class => 'edit' %> <%= link_to_delete tax_category %> </tr> <% end %> <% if @tax_categories.empty? %> <tr data-hook="tax_none"><td colspan="3"><%= t(:none) %></td></tr> <% end %> </tbody> </table>
Version data entries
8 entries across 8 versions & 1 rubygems