Sha256: 048c294931b29cd20f8f595a37247d159242983463e80aeffff1696bfcefba97
Contents?: true
Size: 1.26 KB
Versions: 19
Compression:
Stored size: 1.26 KB
Contents
<%= render :partial => 'admin/shared/configuration_menu' %> <div class='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'> <thead> <tr> <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 %>"> <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><td colspan="3"><%= t(:none) %></td></tr> <% end %> </tbody> </table>
Version data entries
19 entries across 19 versions & 6 rubygems