demarches-normaliennes/app/views/users/sessions/new.html.haml
2015-11-25 10:26:55 +01:00

45 lines
977 B
Text

#form_login
= image_tag('logo-tps.png')
%br
%h2#login_user Connexion
%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.fa.fa-user
= f.email_field :email, class: 'form-control'
%br
%h4
= f.label :password
.input-group
.input-group-addon
%span.fa.fa-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'