<% content_for :tabs do %>
  <nav>
    <ul class="tabs" data-hook="admin_settings_checkout_tabs">
      <% if can?(:show, Spree::RefundReason) %>
        <%= settings_tab_item plural_resource_name(Spree::RefundReason), spree.admin_refund_reasons_path %>
      <% end %>

      <% if can?(:show, Spree::ReimbursementType) %>
        <%= settings_tab_item plural_resource_name(Spree::ReimbursementType), spree.admin_reimbursement_types_path %>
      <% end %>

      <% if can?(:show, Spree::ReturnReason) %>
        <%= settings_tab_item plural_resource_name(Spree::ReturnReason), spree.admin_return_reasons_path %>
      <% end %>

      <% if can?(:show, Spree::AdjustmentReason) %>
        <%= settings_tab_item plural_resource_name(Spree::AdjustmentReason), spree.admin_adjustment_reasons_path %>
      <% end %>

      <% if can?(:show, Spree::StoreCreditReason) %>
        <%= settings_tab_item plural_resource_name(Spree::StoreCreditReason), spree.admin_store_credit_reasons_path %>
      <% end %>
    </ul>
  </nav>
<% end %>
