sqm-dashboards/app/views/layouts/_header.html.haml
2017-02-26 14:49:40 -05:00

10 lines
504 B
Text

%header.row
.title.col-sm-8
%h2= link_to('EdContext'.html_safe, root_path)
.navigation.col-sm-4.text-right
- if current_user
= link_to 'Sign Out', destroy_user_session_path, rel: "nofollow", method: :delete, class: 'btn btn-small grey waves-effect waves-light '
- else
= link_to 'Login', new_user_session_path, class: 'btn btn-small grey waves-effect waves-light '
= link_to 'Register', new_user_registration_path, class: 'btn btn-small grey waves-effect waves-light '