Sha256: 5624a346d413493c0f452d916484a8c06670609a03b6d64dfd9adf89dfca85f3

Contents?: true

Size: 925 Bytes

Versions: 7

Compression:

Stored size: 925 Bytes

Contents

<% content_for :tabs do %>
  <nav>
    <ul class='tabs' data-hook="admin_subscription_tab_options">
      <li<%== ' class="active"' if current == :details %>>
        <%= link_to t("spree.admin.subscriptions.edit.details"), spree.edit_admin_subscription_path(subscription) %>
      </li>
      <li<%== ' class="active"' if current == :installments %>>
        <%= link_to t("spree.admin.subscriptions.edit.installments"), spree.admin_subscription_installments_path(subscription) %>
      </li>
      <li<%== ' class="active"' if current == :events %>>
        <%= link_to t("spree.admin.subscriptions.edit.events"), spree.admin_subscription_subscription_events_path(subscription) %>
      </li>
      <li<%== ' class="active"' if current == :orders %>>
        <%= link_to t("spree.admin.subscriptions.edit.orders"), spree.admin_subscription_subscription_orders_path(subscription) %>
      </li>
    </ul>
  </nav>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/views/spree/admin/shared/_subscription_tabs.html.erb
solidus_subscriptions-2.0.1 app/views/spree/admin/shared/_subscription_tabs.html.erb
solidus_subscriptions-2.0.0 app/views/spree/admin/shared/_subscription_tabs.html.erb
solidus_subscriptions-1.1.0 app/views/spree/admin/shared/_subscription_tabs.html.erb
solidus_subscriptions-1.0.1 app/views/spree/admin/shared/_subscription_tabs.html.erb
solidus_subscriptions-1.0.0 app/views/spree/admin/shared/_subscription_tabs.html.erb
solidus_subscriptions-1.0.0.rc1 app/views/spree/admin/shared/_subscription_tabs.html.erb