Sha256: 02a0c58753450fb4aaff3359daa08a7754b92a59def1b139a619c6a91c9c4e00

Contents?: true

Size: 1.64 KB

Versions: 159

Compression:

Stored size: 1.64 KB

Contents

<% content_for :caboose_css do %>
<%= stylesheet_link_tag "caboose/admin_products" %>
<style>
#product-title {
	font-size: 24px !important;
	height: auto !important;
	padding: 10px 2% !important;
}
</style>
<% end %>
<% content_for :caboose_js do %>
<%= javascript_include_tag "caboose/model/all" %>
<%= javascript_include_tag "caboose/admin_products" %>
<% end %>

<div id='crumbtrail'></div>
<h1 id="product-title">Edit Product - <%= @product.title %></h1>
<ul id='tabs'>
<%
tabs = {
  "/admin/products/#{@product.id}"              => '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| %>
<% selected = href == "/admin/products/#{@product.id}" ? request.fullpath == href : request.fullpath.starts_with?(href) %>
<li<%= raw selected ? " class='selected'" : '' %>><a href='<%= href %>'><%= raw text %></a></li>
<% end %>
<li class='back'><input type='button' class="caboose-btn" value='< Back' onclick="window.location='/admin/products';" /></li>
</ul>
<div id='content2'>

Version data entries

159 entries across 159 versions & 1 rubygems

Version Path
caboose-cms-0.9.101 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.100 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.99 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.98 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.97 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.96 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.95 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.94 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.93 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.92 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.91 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.90 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.89 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.88 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.87 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.86 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.85 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.84 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.83 app/views/caboose/products/_admin_header.html.erb
caboose-cms-0.9.82 app/views/caboose/products/_admin_header.html.erb