Sha256: 98a9af4b82cf3b010c05c249f6dcb68fe287dc18657dc7972b059dd13db8191e

Contents?: true

Size: 1.26 KB

Versions: 664

Compression:

Stored size: 1.26 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='modal_tabs'>
<%
tabs = {
  "/admin/products/#{@product.id}/general"      => 'Product details',
  "/admin/products/#{@product.id}/description"  => 'Long Description',
  "/admin/products/#{@product.id}/categories"   => 'Categories'
}
if @product.options && @product.options.count > 0
  tabs["/admin/products/#{@product.id}/options"      ] = 'Options <span style="font-size: 65%">(size, color, style, etc.)</span>'
end
tabs["/admin/products/#{@product.id}/variants"     ] = 'Inventory & variants'
tabs["/admin/products/#{@product.id}/images"       ] = 'Images'
#tabs["/admin/products/#{@product.id}/seo"          ] = 'SEO'
tabs["/admin/products/#{@product.id}/delete"       ] = 'Delete Product'

%>
<% 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='modal_content2'>

Version data entries

664 entries across 664 versions & 1 rubygems

Version Path
caboose-cms-0.9.229 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-1.0.2 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-1.0.1 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.228 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.227 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.226 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.225 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.224 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.223 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.222 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.221 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.220 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.219 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.218 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.217 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.216 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.215 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.214 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.213 app/views/caboose/invoices/_admin_header.html.erb
caboose-cms-0.9.212 app/views/caboose/invoices/_admin_header.html.erb