2011-03-31 00:10:23 +01:00
|
|
|
!!!
|
|
|
|
%html
|
|
|
|
%head
|
2014-01-21 04:51:49 +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
|
2014-01-21 04:51:49 +00:00
|
|
|
= display_meta_tags site: APP_CONFIG['project_name'], reverse: true, separator: '-'
|
2012-03-30 13:30:39 +01:00
|
|
|
|
2011-03-31 00:10:23 +01:00
|
|
|
%body
|
2013-08-28 16:15:28 +01:00
|
|
|
= render 'layouts/noscript'
|
2012-02-28 20:43:17 +00:00
|
|
|
= yield
|
2012-02-13 16:42:11 +00:00
|
|
|
|
2013-09-01 13:18:58 +01:00
|
|
|
= render 'layouts/counters' if !current_user.try(:admin?) && Rails.env.production?
|
2012-02-29 11:38:13 +00:00
|
|
|
%footer= render "layouts/menu/bottom"
|