<%= render 'spree/admin/shared/settings_checkout_tabs' %> <% admin_breadcrumb(t('spree.settings')) %> <% admin_breadcrumb(t('spree.admin.tab.checkout')) %> <% admin_breadcrumb(plural_resource_name(Spree::RefundReason)) %> <% content_for :page_actions do %> <% end %> <% if @collection.any? %> <% @collection.each do |named_type| %> <% end %>
<%= Spree::RefundReason.human_attribute_name(:name) %> <%= Spree::RefundReason.human_attribute_name(:state) %>
<%= named_type.name %> <%= t(named_type.active? ? :active : :inactive, scope: 'spree') %> <% if can?(:update, named_type) && named_type.mutable? %> <%= link_to_edit named_type, no_text: true %> <% end %>
<% else %>
<%= render 'spree/admin/shared/no_objects_found', resource: Spree::RefundReason, new_resource_url: new_object_url %>
<% end %>