Sha256: 5e8f83a0bfac16b7cf04a0898323544aeb35daa37e4f57ad491800dc0a584cc6

Contents?: true

Size: 961 Bytes

Versions: 27

Compression:

Stored size: 961 Bytes

Contents

<%
if @body_class.nil?
  if content_for?(:sidebar)
    @body_class = 'two-col'
  else
    @body_class = 'one-col'
  end
end
 %>
<body class="<%= @body_class %>" id="<%= @body_id %>">
  <div id="header" class="container_bg">
    <div class="container">
    <div id="login-bar">
      <ul id="nav-bar">
        <%= render 'shared/nav_bar' %>
      </ul>
    </div>
  <%= logo %>
  </div>
  </div>

  <div id="wrapper" class="container">
    <% if content_for?(:sidebar) %>
    <div id="sidebar">
      <%= hook :sidebar do %>
        <%= yield :sidebar %>
      <% end %>
    </div>
    <% end %>

    <div id="content">
      <%= breadcrumbs(@taxon) if @taxon %>
      <% if flash.notice %>
      <div class="flash notice"><%= flash.notice %></div>
      <% end %>
      <% if flash[:error] %>
      <div class="flash errors"><%= flash[:error] %></div>
      <% end %>
      <%= yield %>
    </div>
    <%= render :partial => 'shared/footer'%>
  </div>

</body>

Version data entries

27 entries across 27 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/shared/_basic_layout.html.erb
My-Commerce_core-1.1.0 app/views/shared/_basic_layout.html.erb
My-Commerce_core-1.0.0 app/views/shared/_basic_layout.html.erb
MyCommerceapi-1.0.0 core/app/views/shared/_basic_layout.html.erb
MyCommerce-0.0.3 core/app/views/shared/_basic_layout.html.erb
rfcommerce_core-0.0.3 app/views/shared/_basic_layout.html.erb
spree_core-0.60.6 app/views/shared/_basic_layout.html.erb
spree_core-0.60.5 app/views/shared/_basic_layout.html.erb
spree_core-0.30.2 app/views/shared/_basic_layout.html.erb
spree_core-0.40.4 app/views/shared/_basic_layout.html.erb
spree_core-0.50.4 app/views/shared/_basic_layout.html.erb
spree_core-0.60.4 app/views/shared/_basic_layout.html.erb
spree_core-0.50.3 app/views/shared/_basic_layout.html.erb
spree_core-0.60.3 app/views/shared/_basic_layout.html.erb
spree_core-0.60.2 app/views/shared/_basic_layout.html.erb
spree_core-0.60.1 app/views/shared/_basic_layout.html.erb
spree_core-0.60.0 app/views/shared/_basic_layout.html.erb
spree_core-0.60.0.RC1 app/views/shared/_basic_layout.html.erb
spree_core-0.50.2 app/views/shared/_basic_layout.html.erb
spree_core-0.50.1 app/views/shared/_basic_layout.html.erb