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

44 lines
980 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"
%div{style:'text-align:center'}
\-
%br
%a{href: '/gestionnaires/sign_in'}
= 'Gestionnaire'
%br
%a{href: '/administrateurs/sign_in'}
= 'Administrateur'