Sha256: 24dd95d96b73da67689207f8ce8cc533626212368fecb7af9e6b283ce43cdf42

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <%= render 'shared/head' %>
  </head>

  <body>
    <div class="container">

      <!-- лого и корзина -->
      <%= render :partial => "shared/header" %>

      <!-- меню -->
      <%= render :partial => "shared/main_menu" %>

      <div class="row">

        <!-- сайдбар -->
        <% if content_for?(:sidebar) %>
          <%= hook :sidebar do %>
            <%= yield :sidebar %>
          <% end %>
          <div class="span9">
        <% else %>
          <div class="span12">
        <% end %>

        <%= flash_messages %>
        <%= flash[:error] %>

        <%= yield %>

        </div>
      </div>

      <!-- футер -->
      <%= render :partial => "shared/footer" %>

    </div>

    <!-- javascript -->
    <%= javascript_include_tag 'jquery.min.js' %>
    <%= javascript_include_tag 'rails' %>
    <%= javascript_include_tag 'bootstrap.min.js' %>
    <%= javascript_include_tag 'load-image.min.js' %>
    <%= javascript_include_tag 'bootstrap-image-gallery.min.js' %>
    <%= javascript_include_tag 'theme' %>
    <% unless I18n.locale.to_s[0..1] == 'en' %>
      <%#= javascript_include_tag ['localization/messages_', I18n.locale.to_s[0..1], '.js'].join %>
    <% end %>
    <%= yield :custom_js %>    
   
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
synergy_bootstrap_theme-0.0.4 app/views/layouts/spree_application.html.erb