demarches-normaliennes/app/views/administrateurs/sessions/new.html.haml
2016-11-14 17:33:45 +01:00

29 lines
No EOL
735 B
Text

#form_login
%br
= image_tag(image_url(LOGO_NAME))
%br
%h2#login_admin
=t('dynamics.admin.connexion_title')
%br
%br
#new_user
= form_for @administrateur, url: {controller: 'administrateurs/sessions', action: :create } do |f|
%h4
= f.label :email
.input-group
.input-group-addon
%span.fa.fa-user
= f.email_field :email, class: 'form-control'
%br
%h4
= f.label 'Mot de passe'
.input-group
.input-group-addon
%span.fa.fa-asterisk
= f.password_field :password, class: 'form-control', value: @administrateur.password
%br
%br
.actions
= f.submit "Se connecter", class:'btn btn-primary'
%br