Sha256: f10c2acad126da449251aeea7792ec22e35f63f918e429c6f62084b21b9c19d4

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 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 'application' %>
    <%= javascript_include_tag 'bootstrap.min.js' %>
    <%= javascript_include_tag 'load-image.min.js' %>
    <%= javascript_include_tag 'bootstrap-image-gallery.min.js' %>
    <% unless I18n.locale.to_s[0..1] == 'en' %>
      <%#= javascript_include_tag ['localization/messages_', I18n.locale.to_s[0..1], '.js'].join %>
    <% end %>

  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

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