demarches-normaliennes/app/views/administrateurs/sessions/new.html.haml

30 lines
739 B
Text
Raw Normal View History

2015-11-20 17:50:27 +01:00
#form_login
2016-05-27 10:15:19 +02:00
%br
2016-11-03 17:29:59 +01:00
= image_tag(image_url(LOGO_NAME))
2015-11-20 17:50:27 +01:00
%br
2016-11-03 16:46:26 +01:00
%h2#login_admin
= t('dynamics.admin.connexion_title')
2015-11-20 17:50:27 +01:00
%br
%br
#new_user
2017-04-06 19:10:25 +02:00
= form_for @administrateur, url: { controller: 'administrateurs/sessions', action: :create } 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
2016-02-22 15:20:22 +01:00
= f.email_field :email, class: 'form-control'
2015-11-20 17:50:27 +01:00
%br
%h4
2016-11-03 16:46:26 +01:00
= f.label 'Mot de passe'
2015-11-20 17:50:27 +01:00
.input-group
.input-group-addon
2016-11-14 17:33:45 +01:00
%span.fa.fa-asterisk
2016-02-19 17:27:14 +01:00
= f.password_field :password, class: 'form-control', value: @administrateur.password
2015-11-20 17:50:27 +01:00
%br
%br
.actions
= f.submit "Se connecter", class: 'btn btn-primary'
2017-04-04 15:27:04 +02:00
%br