sqm-dashboards/app/views/layouts/_header.html.haml
2017-04-13 12:31:08 -04:00

10 lines
499 B
Text

%header.row
.title.col-8
%h2= link_to('EdContext'.html_safe, root_path)
.navigation.col-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 '