Sha256: 884afcb0785905c94937282a88f035dc034c1bfebb688d5b79c1919ce4673f9e
Contents?: true
Size: 1.54 KB
Versions: 9
Compression:
Stored size: 1.54 KB
Contents
<%= render :partial => 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= t(:listing_tax_categories) %> <% end %> <% content_for :page_actions do %> <ul class="actions inline-menu"> <li> <%= button_link_to t(:new_tax_category), new_object_url, :icon => 'icon-plus', :id => 'admin_new_tax_categories_link' %> </li> </ul> <% end %> <table class="index" id='listing_tax_categories' data-hook> <colgroup> <col style="width: 30%" /> <col style="width: 40%" /> <col style="width: 15%" /> <col style="width: 15%" /> </colgroup> <thead> <tr data-hook="tax_header"> <th><%= t(:name) %></th> <th><%= t(:description) %></th> <th><%= t(:default) %></th> <th class="actions"></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="<%= spree_dom_id tax_category %>" data-hook="tax_row" class="<%= cycle('odd', 'even')%>"> <td><%= tax_category.name %></td> <td><%= tax_category.description %></td> <td class="align-center"><%= tax_category.is_default.to_s.titleize %></td> <td class="actions"> <%= link_to_edit tax_category, :no_text => true %> <%= link_to_delete tax_category, :no_text => true %> </tr> <% end %> <% if @tax_categories.empty? %> <tr data-hook="tax_none"><td colspan="4"><%= t(:none) %></td></tr> <% end %> </tbody> </table>
Version data entries
9 entries across 9 versions & 2 rubygems