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

27 lines
708 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
= f.email_field :email, class: 'form-control'
%br
%h4
= f.label :password
.input-group
.input-group-addon
%span.glyphicon.glyphicon-asterisk
= f.password_field :password, autocomplete: "off", class: 'form-control'
%br
%br
.actions
= f.submit "Se connecter", class:'btn btn-primary'
%br