2017-04-06 11:38:44 +02:00
|
|
|
- if user_signed_in?
|
2017-04-12 11:12:05 +02:00
|
|
|
#sign-out.col-xs-2.no-padding
|
2016-12-01 13:01:00 +01:00
|
|
|
= render partial: 'users/login_banner'
|
2016-12-05 14:06:38 +01:00
|
|
|
= render partial: 'layouts/credentials'
|
2017-04-06 11:38:44 +02:00
|
|
|
- elsif gestionnaire_signed_in?
|
2017-04-12 11:12:05 +02:00
|
|
|
#sign-out.col-xs-2.no-padding
|
2016-12-01 10:54:25 +01:00
|
|
|
= render partial: 'gestionnaires/login_banner'
|
2016-12-05 14:06:38 +01:00
|
|
|
= render partial: 'layouts/credentials'
|
2017-04-06 11:38:44 +02:00
|
|
|
- elsif administrateur_signed_in?
|
2017-04-12 11:12:05 +02:00
|
|
|
#sign-out.col-xs-2.no-padding
|
2016-12-01 13:21:56 +01:00
|
|
|
= render partial: 'administrateurs/login_banner'
|
2016-12-05 14:06:38 +01:00
|
|
|
= render partial: 'layouts/credentials'
|
2017-04-06 11:38:44 +02:00
|
|
|
- else
|
2017-04-12 11:12:05 +02:00
|
|
|
#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'
|