demarches-normaliennes/app/views/users/sessions/new.html.haml
2015-10-08 11:26:12 +02:00

34 lines
793 B
Text

#form_login
%h1#login_user Connexion
%br
%br
%a.btn.btn-default.btn-lg.btn-primary#btn_fc{href: '/france_connect'}
%div{style:'margin-left:35px'}
S'identifier avec
France Connect
%hr
= form_for(resource, as: resource_name, url: session_path(resource_name)) 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
= render "users/shared/links"