2017-04-12 11:12:05 +02:00
|
|
|
#form-login
|
2019-08-06 11:02:54 +02:00
|
|
|
%h2#instructeur_login Instructeur
|
2015-11-20 17:50:27 +01:00
|
|
|
|
|
|
|
%br
|
|
|
|
%br
|
2017-04-12 11:12:05 +02:00
|
|
|
#new-user
|
2019-08-06 11:02:54 +02:00
|
|
|
= form_for @instructeur, url: instructeur_session_path, method: :post do |f|
|
2015-11-20 17:50:27 +01:00
|
|
|
%h4
|
|
|
|
= f.label :email
|
|
|
|
.input-group
|
|
|
|
.input-group-addon
|
2016-11-14 17:33:45 +01:00
|
|
|
%span.fa.fa-user
|
2015-11-20 17:50:27 +01:00
|
|
|
= f.email_field :email, class: 'form-control'
|
|
|
|
%br
|
|
|
|
%h4
|
|
|
|
= f.label :password
|
|
|
|
.input-group
|
|
|
|
.input-group-addon
|
2016-11-14 17:33:45 +01:00
|
|
|
%span.fa.fa-asterisk
|
2019-08-06 11:02:54 +02:00
|
|
|
= f.password_field :password, autocomplete: "off", class: 'form-control', value: @instructeur.password
|
2015-11-20 17:50:27 +01:00
|
|
|
%br
|
|
|
|
%br
|
|
|
|
.actions
|
2017-04-06 17:18:03 +02:00
|
|
|
= f.submit "Se connecter", class: 'btn btn-primary'
|
2016-06-14 15:30:23 +02:00
|
|
|
%br
|
2019-08-06 11:02:54 +02:00
|
|
|
= render "instructeurs/shared/links"
|