Sha256: 701d682bfd2dc88cff8c2d7b85c93ff9d4619400e5f487176c4ba455bed8b939
Contents?: true
Size: 1.17 KB
Versions: 47
Compression:
Stored size: 1.17 KB
Contents
<% content_for :tabs do %> <nav> <ul class='tabs' data-hook="admin_user_tab_options"> <li<%== ' class="active"' if current == :account %>> <%= link_to t("spree.admin.user.account"), spree.edit_admin_user_path(@user) %> </li> <% if can?(:addresses, @user) %> <li<%== ' class="active"' if current == :address %>> <%= link_to t("spree.admin.user.addresses"), spree.addresses_admin_user_path(@user) %> </li> <% end %> <% if can?(:orders, @user) %> <li<%== ' class="active"' if current == :orders %>> <%= link_to t("spree.admin.user.order_history"), spree.orders_admin_user_path(@user) %> </li> <% end %> <% if can?(:items, @user) %> <li<%== ' class="active"' if current == :items %>> <%= link_to t("spree.admin.user.items"), spree.items_admin_user_path(@user) %> </li> <% end %> <% if can?(:display, Spree::StoreCredit) %> <li<%== ' class="active"' if current == :store_credits %>> <%= link_to t("spree.admin.user.store_credit"), spree.admin_user_store_credits_path(@user) %> </li> <% end %> </ul> </nav> <% end %>
Version data entries
47 entries across 47 versions & 2 rubygems