Sha256: 829f45b0f0a5872c4a310d96b9ad8a44bbf248262fc16d4b6951a12191e83869

Contents?: true

Size: 730 Bytes

Versions: 2

Compression:

Stored size: 730 Bytes

Contents

<h1><%=t("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("New Shipping Category"), new_object_url %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-0.5.0 vendor/extensions/shipping/app/views/admin/shipping_categories/index.html.erb
spree-0.5.1 vendor/extensions/shipping/app/views/admin/shipping_categories/index.html.erb