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"}
|
2011-11-09 23:50:42 +00:00
|
|
|
= display_meta_tags :site => APP_CONFIG['project_name']
|
2012-02-29 11:38:13 +00:00
|
|
|
- if controller_name == 'sessions' && action_name == 'new'
|
|
|
|
= stylesheet_link_tag "login"
|
|
|
|
= javascript_include_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"
|
2011-03-31 00:10:23 +01:00
|
|
|
= csrf_meta_tag
|
2012-02-29 16:54:44 +00:00
|
|
|
|
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"
|