2015-10-07 18:14:10 +02:00
|
|
|
#form_login
|
2015-11-20 17:50:27 +01:00
|
|
|
= image_tag('logo-tps.png')
|
2015-10-07 18:14:10 +02:00
|
|
|
%br
|
2015-11-20 17:50:27 +01:00
|
|
|
%h2#login_user Connexion
|
|
|
|
|
2015-10-07 18:14:10 +02:00
|
|
|
%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"
|
2015-10-06 18:33:01 +02:00
|
|
|
|
2015-10-26 16:48:41 +01:00
|
|
|
%div{style:'text-align:center'}
|
|
|
|
\-
|
|
|
|
%br
|
|
|
|
%a{href: '/gestionnaires/sign_in'}
|
|
|
|
= 'Gestionnaire'
|
|
|
|
%br
|
|
|
|
%a{href: '/administrateurs/sign_in'}
|
|
|
|
= 'Administrateur'
|
|
|
|
|
|
|
|
|
2015-10-06 18:33:01 +02:00
|
|
|
|
2015-09-23 10:02:01 +02:00
|
|
|
|