rosa-build/app/views/layouts/sessions.html.haml

19 lines
665 B
Plaintext
Raw Normal View History

!!!
%html
%head
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "content-type"}
= display_meta_tags :site => APP_CONFIG['project_name']
- 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)
= stylesheet_link_tag "reg_session"
= csrf_meta_tag
2012-02-29 16:54:44 +00:00
%body
2012-02-28 20:43:17 +00:00
-# render :partial => "layouts/flashes"
= yield
= render 'layouts/counters' unless current_user.try(:admin?)
%footer= render "layouts/menu/bottom"