Sha256: ebd2e6fbcd375c68eff9cf456ca3a9bf06000e4442966bdca4dde01bea4c9b4e

Contents?: true

Size: 1012 Bytes

Versions: 6

Compression:

Stored size: 1012 Bytes

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<% content_for :page_title do %>
  <%= Spree.t(:shipping_categories) %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to Spree.t(:new_shipping_category), new_object_url, :icon => 'icon-plus' %>
  </li>
<% end %>

<table class="index">
  <colgroup>
    <col style="width: 85%">
    <col style="width: 15%">
  </colgroup>
  <thead>
    <tr data-hook="categories_header">
      <th><%= Spree.t(:name) %></th>
      <th class="actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @shipping_categories.each do |shipping_category|%>
    <tr id="<%= spree_dom_id shipping_category %>" data-hook="category_row" class="<%= cycle('odd', 'even')%>">
      <td style="width:350px;"><%= shipping_category.name %></td>
      <td class="actions">
        <%= link_to_edit shipping_category, :no_text => true %>
        <%= link_to_delete shipping_category, :no_text => true %>
      </td>
    </tr>
    <% end %>
  </tbody>
</table>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_backend-2.0.4 app/views/spree/admin/shipping_categories/index.html.erb
spree_backend-2.0.3 app/views/spree/admin/shipping_categories/index.html.erb
spree_backend-2.0.2 app/views/spree/admin/shipping_categories/index.html.erb
spree_backend-2.0.1 app/views/spree/admin/shipping_categories/index.html.erb
spree_backend-2.0.0 app/views/spree/admin/shipping_categories/index.html.erb
spree_backend-2.0.0.rc1 app/views/spree/admin/shipping_categories/index.html.erb