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

27 lines
720 B
Text
Raw Normal View History

2015-11-20 17:50:27 +01:00
#form_login
= image_tag('logo-tps.png')
%br
2015-12-14 17:27:14 +01:00
%h2#login_admin Administration
2015-11-20 17:50:27 +01:00
%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.glyphicon.glyphicon-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
= f.label :password
.input-group
.input-group-addon
%span.glyphicon.glyphicon-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'
%br