Sha256: 4733d55b5253087e17c51e3769a8e56f197a613458f89efece5b87e17684d48d

Contents?: true

Size: 913 Bytes

Versions: 11

Compression:

Stored size: 913 Bytes

Contents

<% content_for :page_title do %>
  <%= Spree::PromotionCategory.model_name.human(count: :many) %>
<% end %>

<% content_for :page_actions do %>
  <li>
    <%= button_link_to Spree.t(:new_promotion_category), spree.new_admin_promotion_category_path, :icon => 'plus' %>
  </li>
<% end %>

<%= render 'spree/admin/shared/promotion_sub_menu' %>

<table>
  <colgroup>
    <col style="width: 85%">
    <col style="width: 15%">
  </colgroup>
  <thead>
    <th><%= Spree::PromotionCategory.human_attribute_name :name %></th>
    <th class='actions'></th>
  </thead>
  <tbody>
    <% @promotion_categories.each do |promotion_category| %>
      <tr>
        <td><%= promotion_category.name %></td>
        <td class="actions">
          <%= link_to_edit promotion_category, :no_text => true %>
          <%= link_to_delete promotion_category, :no_text => true %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spree_backend-2.4.10 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.9 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.8 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.7 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.6 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.5 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.4 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.3 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.2 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.1 app/views/spree/admin/promotion_categories/index.html.erb
spree_backend-2.4.0 app/views/spree/admin/promotion_categories/index.html.erb