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

27 lines
709 B
Text
Raw Normal View History

2015-11-20 17:50:27 +01:00
#form_login
= image_tag('logo-tps.png')
%br
%h2#gestionnaire_login Gestionnaire
%br
%br
#new_user
= form_for @gestionnaire, url: {controller: 'gestionnaires/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