Sha256: 362f48c93fcc1994567371e089b383aef68341bce45e5aa0a6f83c569e62cd0a

Contents?: true

Size: 1.35 KB

Versions: 136

Compression:

Stored size: 1.35 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>'
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

136 entries across 136 versions & 1 rubygems

Version Path
caboose-cms-0.5.194 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.193 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.192 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.191 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.190 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.189 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.188 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.187 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.186 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.185 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.184 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.183 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.182 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.181 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.180 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.179 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.178 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.177 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.176 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.5.175 app/views/caboose/products/_admin_header.html.erb