Sha256: 8d1c67e991ccac85e877174a6743cc473dd5405524e83270daa3c5d59f6cb873

Contents?: true

Size: 1.4 KB

Versions: 43

Compression:

Stored size: 1.4 KB

Contents

<% content_for :caboose_css do %>
<%= stylesheet_link_tag "caboose/admin_products" %>
<% end %>
<% content_for :caboose_js do %>
<%= javascript_include_tag "caboose/model/all" %>
<%= javascript_include_tag "caboose/admin_products" %>
<% end %>

<h1>Edit Product - <%= @product.title %></h1>
<ul id='tabs'>
<%
tabs = {
  "/admin/products/#{@product.id}/general"      => 'Product details',
  "/admin/products/#{@product.id}/description"  => 'Long Description',
  "/admin/products/#{@product.id}/categories"   => 'Categories'
}

tabs["/admin/products/#{@product.id}/options"             ] = 'Options <span style="font-size: 65%">(size, color, style, etc.)</span>' if @product.options && @product.options.count > 0
tabs["/admin/products/#{@product.id}/variants/sort-order" ] = 'Sort Option Values' if @product.options && @product.options.count > 0
tabs["/admin/products/#{@product.id}/variants"            ] = 'Inventory & Variants'
tabs["/admin/products/#{@product.id}/images"              ] = 'Images'
tabs["/admin/products/#{@product.id}/delete"              ] = 'Delete Product'

#tabs["/admin/products/#{@product.id}/seo"          ] = 'SEO'

%>
<% tabs.each do |href,text| %>
<li<%= raw request.fullpath == href ? " class='selected'" : '' %>><a href='<%= href %>'><%= raw text %></a></li>
<% end %>
<li class='back'><input type='button' value='< Back' onclick="window.location='/admin/products';" /></li>
</ul>
<div id='content2'>

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
caboose-cms-0.5.56 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.55 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.54 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.53 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.52 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.51 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.50 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.49 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.48 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.47 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.46 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.45 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.44 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.43 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.42 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.41 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.40 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.39 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.38 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.37 app/views/caboose/products/_admin_header.html.erb