Sha256: bd0fd36fc1f8d8f9963cae0738464ae960658f862478219bfd3c6509fea593d2

Contents?: true

Size: 1.27 KB

Versions: 47

Compression:

Stored size: 1.27 KB

Contents

<% content_for :caboose_css do %>
<%= stylesheet_link_tag "caboose_store/admin_products" %>
<% end %>
<% content_for :caboose_js do %>
<%= javascript_include_tag "caboose/model/all" %>
<%= javascript_include_tag "caboose_store/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

47 entries across 40 versions & 1 rubygems

Version Path
caboose-store-0.0.43 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.42 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.41 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.40 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.39 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.38 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.37 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.36 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.35 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.34 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.33 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.32 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.31 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.30 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.29 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.28 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.27 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.26 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.25 app/views/caboose_store/orders/_admin_header.html.erb
caboose-store-0.0.24 app/views/caboose_store/orders/_admin_header.html.erb