2011-03-09 13:13:36 +00:00
|
|
|
!!! 5
|
|
|
|
-# http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither
|
|
|
|
-ie_html :class => 'no-js' do
|
|
|
|
= render :partial => 'layouts/head'
|
2011-03-09 19:27:51 +00:00
|
|
|
%body{ :lang => 'ru', :class => "#{controller.controller_name}" }
|
2011-03-09 13:13:36 +00:00
|
|
|
#container
|
|
|
|
%header#header
|
|
|
|
= render :partial => 'layouts/header'
|
|
|
|
#main{ :role => 'main' }
|
|
|
|
= render :partial => 'layouts/flashes'
|
|
|
|
= yield
|
|
|
|
%footer#footer
|
|
|
|
= render :partial => 'layouts/footer'
|
|
|
|
-# Javascript at the bottom for fast page loading
|
|
|
|
= render :partial => 'layouts/javascripts'
|