2015-11-20 17:50:27 +01:00
|
|
|
#form_login
|
2016-05-27 10:15:19 +02:00
|
|
|
%br
|
2016-11-03 17:20:56 +01:00
|
|
|
= image_tag(LOGO_NAME)
|
2015-11-20 17:50:27 +01:00
|
|
|
%br
|
2015-12-15 17:46:05 +01:00
|
|
|
%h2#gestionnaire_login Accompagnateur
|
2015-11-20 17:50:27 +01:00
|
|
|
|
|
|
|
%br
|
|
|
|
%br
|
|
|
|
#new_user
|
2015-11-30 17:03:36 +01:00
|
|
|
= form_for @gestionnaire, url: gestionnaire_session_path, method: :post do |f|
|
2015-11-20 17:50:27 +01:00
|
|
|
%h4
|
|
|
|
= f.label :email
|
|
|
|
.input-group
|
|
|
|
.input-group-addon
|
|
|
|
%span.glyphicon.glyphicon-user
|
|
|
|
= f.email_field :email, class: 'form-control'
|
|
|
|
%br
|
|
|
|
%h4
|
|
|
|
= f.label :password
|
|
|
|
.input-group
|
|
|
|
.input-group-addon
|
|
|
|
%span.glyphicon.glyphicon-asterisk
|
2016-02-15 17:13:16 +01:00
|
|
|
= f.password_field :password, autocomplete: "off", class: 'form-control', value: @gestionnaire.password
|
2015-11-20 17:50:27 +01:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
.actions
|
|
|
|
= f.submit "Se connecter", class:'btn btn-primary'
|
2016-06-14 15:30:23 +02:00
|
|
|
%br
|
|
|
|
= render "gestionnaires/shared/links"
|