Sha256: be66243266e662c86ef292c0499960b2b9ef68d493cf40012164b7536a3fbfb4

Contents?: true

Size: 694 Bytes

Versions: 6

Compression:

Stored size: 694 Bytes

Contents

<% content_for :tabs do %>
  <nav>
    <ul class="tabs" data-hook="admin_settings_shipping_tabs">
      <% if can?(:display, Spree::ShippingMethod) %>
        <%= settings_tab_item Spree::ShippingMethod.model_name.human(count: :other), admin_shipping_methods_path %>
      <% end %>

      <% if can?(:display, Spree::ShippingCategory) %>
        <%= settings_tab_item Spree::ShippingCategory.model_name.human(count: :other), admin_shipping_categories_path %>
      <% end %>

      <% if can?(:display, Spree::StockLocation) %>
        <%= settings_tab_item Spree::StockLocation.model_name.human(count: :other), spree.admin_stock_locations_path %>
      <% end %>
    </ul>
  </nav>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
solidus_backend-1.3.2 app/views/spree/admin/shared/_shipping_tabs.html.erb
solidus_backend-1.3.1 app/views/spree/admin/shared/_shipping_tabs.html.erb
solidus_backend-1.3.0 app/views/spree/admin/shared/_shipping_tabs.html.erb
solidus_backend-1.3.0.rc2 app/views/spree/admin/shared/_shipping_tabs.html.erb
solidus_backend-1.3.0.rc1 app/views/spree/admin/shared/_shipping_tabs.html.erb
solidus_backend-1.3.0.beta1 app/views/spree/admin/shared/_shipping_tabs.html.erb