Sha256: 826f408dec69cb339996d7261f28c2a26c1bbc648000e65e2861dfa0b405ae37

Contents?: true

Size: 1.37 KB

Versions: 7

Compression:

Stored size: 1.37 KB

Contents

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

<% content_for :sidebar do %>

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

  <ul class="sidebar product-menu">
    <li<%= ' class="active"' if current == "Product Details" %>>
      <%= link_to t("product_details"), edit_admin_product_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>
    <% if @product_admin_tabs && @product_admin_tabs.size > 0
      @product_admin_tabs.each do |extension| %>
      <li<%= ' class="active"' if current == extension[:name].capitalize.pluralize %>>
        <%= link_to extension[:name].capitalize.pluralize,  eval(extension[:url] + " @product") %>
      </li>
      <% end %>
    <% end %>

  </ul>
  <br clear="clear" />

<% end %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
kdmny-spree-0.0.1 app/views/admin/shared/_product_tabs.html.erb
spree-0.8.4 app/views/admin/shared/_product_tabs.html.erb
spree-0.8.5 app/views/admin/shared/_product_tabs.html.erb
spree-0.8.0 app/views/admin/shared/_product_tabs.html.erb
spree-0.8.1 app/views/admin/shared/_product_tabs.html.erb
spree-0.8.2 app/views/admin/shared/_product_tabs.html.erb
spree-0.8.3 app/views/admin/shared/_product_tabs.html.erb