demarches-normaliennes/app/views/layouts/navbars/_navbar_log_options.html.haml

16 lines
572 B
Text
Raw Normal View History

- if user_signed_in?
#sign-out.col-xs-2.no-padding
= render partial: 'users/login_banner'
= render partial: 'layouts/credentials'
- elsif instructeur_signed_in?
#sign-out.col-xs-2.no-padding
= render partial: 'instructeurs/login_banner'
= render partial: 'layouts/credentials'
- elsif administrateur_signed_in?
#sign-out.col-xs-2.no-padding
2016-12-01 13:21:56 +01:00
= render partial: 'administrateurs/login_banner'
= render partial: 'layouts/credentials'
- else
#sign-in.col-xs-2
2017-04-04 15:27:04 +02:00
= link_to "Connexion", new_user_session_path, :class => 'btn btn-lg btn-primary'