Sha256: caa02e94fb90641e2adea353767f0e1d12ff8c6ed51b96db50746e4c90cd64ab

Contents?: true

Size: 756 Bytes

Versions: 3

Compression:

Stored size: 756 Bytes

Contents

<h1><%=t("ext_shipping_shipping_categories") %></h1>
<table class="admin-report" width="545">
  <thead>
    <tr>
	    <th><%=t("name")%></th>
      <th><%=t("action")%></th>
    </tr>
  </thead>
  <tbody>
    <% @shipping_categories.each do |shipping_category| %>
      <tr class="<%= cycle('even', 'odd') %>">
        <td><%=shipping_category.name %></td>
        <td>
          <%=link_to t("edit"), edit_object_url(shipping_category) %> |
          <%=link_to t("delete"), object_url(shipping_category), :method => :delete %>
        </td>
      </tr>
    <% end %>
    <% if @shipping_categories.empty? %>
      <tr><td colspan="5">None.</td></tr>
    <% end %>
  </tbody>
</table>
<%= link_to t("ext_shipping_new_shipping_category"), new_object_url %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-0.6.0 vendor/extensions/shipping/app/views/admin/shipping_categories/index.html.erb
spree-0.7.0 vendor/extensions/shipping/app/views/admin/shipping_categories/index.html.erb
spree-0.7.1 vendor/extensions/shipping/app/views/admin/shipping_categories/index.html.erb