2011-03-31 00:10:23 +01:00
|
|
|
!!!
|
|
|
|
%html
|
|
|
|
%head
|
2012-02-08 14:01:00 +00:00
|
|
|
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "content-type"}
|
2012-02-29 11:38:13 +00:00
|
|
|
- if controller_name == 'sessions' && action_name == 'new'
|
|
|
|
= stylesheet_link_tag "login"
|
2012-03-01 16:05:00 +00:00
|
|
|
- elsif ['registrations', 'passwords'].include?(controller_name) && ['new', 'create', 'edit', 'update'].include?(action_name)
|
2012-02-29 19:50:08 +00:00
|
|
|
= stylesheet_link_tag "reg_session"
|
2012-03-29 23:51:39 +01:00
|
|
|
/[if lt IE 9]
|
2012-04-02 12:26:00 +01:00
|
|
|
= javascript_include_tag 'https://html5shiv.googlecode.com/svn/trunk/html5.js'
|
2012-03-02 12:27:38 +00:00
|
|
|
= javascript_include_tag "login"
|
2012-03-29 23:51:39 +01:00
|
|
|
= csrf_meta_tag
|
2012-03-30 13:30:39 +01:00
|
|
|
= display_meta_tags :site => APP_CONFIG['project_name'], :reverse => true, :separator => '-'
|
|
|
|
|
2011-03-31 00:10:23 +01:00
|
|
|
%body
|
2012-02-28 20:43:17 +00:00
|
|
|
-# render :partial => "layouts/flashes"
|
|
|
|
= yield
|
2012-02-13 16:42:11 +00:00
|
|
|
|
|
|
|
= render 'layouts/counters' unless current_user.try(:admin?)
|
2012-02-29 11:38:13 +00:00
|
|
|
%footer= render "layouts/menu/bottom"
|