19 lines
663 B
Plaintext
19 lines
663 B
Plaintext
!!!
|
|
%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"
|
|
- elsif ['registrations', 'passwords'].include?(controller_name) && ['new', 'create', 'edit', 'update'].include?(action_name)
|
|
= stylesheet_link_tag "reg_session"
|
|
= csrf_meta_tag
|
|
= javascript_include_tag "login"
|
|
|
|
%body
|
|
-# render :partial => "layouts/flashes"
|
|
= yield
|
|
|
|
= render 'layouts/counters' unless current_user.try(:admin?)
|
|
%footer= render "layouts/menu/bottom"
|