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

<% admin_breadcrumb t('spree.settings') %>
<% admin_breadcrumb t('spree.admin.tab.checkout') %>
<% admin_breadcrumb link_to plural_resource_name(Spree::StoreCreditReason), spree.admin_store_credit_reasons_path %>
<% admin_breadcrumb @object.name %>

<%= render partial: 'spree/shared/error_messages', locals: { target: @object } %>

<%= form_for [:admin, @object] do |f| %>
  <fieldset class='no-border-top' data-hook='edit_store_credit_reason'>
    <%= render partial: 'spree/admin/store_credit_reasons/shared/form', locals: { f: f } %>
    <%= render partial: 'spree/admin/shared/edit_resource_links' %>
  </fieldset>
<% end %>
