<%= render 'shared/head' %> <% if @body_class.nil? if content_for?(:sidebar) @body_class = 'two-col' else @body_class = 'one-col' end end %>
  • <%= link_to_cart %>
  • <% if defined?(SpreeCompareProducts) %>
  • <%= link_to(t(:product_comparison, :scope => :compare_products) + (@comparable_products.size > 0 ? " (#{@comparable_products.count})" : ""), compare_products_path, :id => "compare_products") %>
  • <% end %>
<%= hook :shared_login_bar %>
    <% for page in Page.header_links do %>
  • <%= link_to page.title, page.link %>
  • <% end %>
<%= render :partial => 'shared/comparable_products' if defined?(SpreeCompareProducts) %> <% if content_for?(:sidebar) %> <% end %>
<%= flash_messages %> <%= yield %>
<%= hook :footer_right %> <% cache 'google_analytics' do %> <%= render 'shared/google_analytics' %> <% end %>