Sha256: c7e325e4284dc85854ccc5c12c092ae81a88a5e80b7c64c6a248249a47f5dce6

Contents?: true

Size: 1.19 KB

Versions: 2

Compression:

Stored size: 1.19 KB

Contents

<h1><%== t(:editing_product) + " &ldquo;#{@product.name}&rdquo;" %></h1>

<% content_for :sidebar do %>

  <h3><%= @product.name %><span class="sku"><%= @product.sku %></span></h3>
  <br class="clear" />

  <ul class="sidebar product-menu" data-hook="admin_product_tabs">
    <li<%== ' class="active"' if current == 'Product Details' %>>
      <%= link_to t(:product_details), edit_admin_product_url(@product) %>
    </li>
    <li<%== ' class="active"' if current == 'Images' %>>
      <%= link_to t(:images), admin_product_images_url(@product) %>
    </li>
    <li<%== ' class="active"' if current == 'Variants' %>>
      <%= link_to t(:variants),  admin_product_variants_url(@product) %>
    </li>
    <li<%== ' class="active"' if current == 'Option Types' %>>
      <%= link_to t(:option_types), selected_admin_product_option_types_url(@product) %>
    </li>
    <li<%== ' class="active"' if current == 'Product Properties' %>>
      <%= link_to t(:product_properties), admin_product_product_properties_url(@product) %>
    </li>
    <li<%== ' class="active"' if current == 'Taxons' %>>
      <%= link_to t(:taxons), selected_admin_product_taxons_url(@product) %>
    </li>
  </ul>
  <br class="clear" />

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-1.0.0.rc2 app/views/spree/admin/shared/_product_tabs.html.erb
spree_core-1.0.0.rc1 app/views/spree/admin/shared/_product_tabs.html.erb