2017-01-03 11:32:21 +01:00
|
|
|
|
#form_login.user_connexion_page
|
2015-10-07 18:14:10 +02:00
|
|
|
|
%br
|
2016-11-07 17:08:33 +01:00
|
|
|
|
= render partial: 'users/sessions/resume_procedure'
|
2016-05-26 15:59:50 +02:00
|
|
|
|
|
2016-11-03 16:46:26 +01:00
|
|
|
|
%h2#login_user
|
2017-04-06 11:38:44 +02:00
|
|
|
|
= t('dynamics.users.connexion_title')
|
2015-11-20 17:50:27 +01:00
|
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
|
%a.btn_fc#btn_fcp{ href: '/france_connect/particulier' }
|
2016-01-29 13:28:32 +01:00
|
|
|
|
= image_tag 'franceconnect_logo.png'
|
2016-01-11 17:38:16 +01:00
|
|
|
|
|
2015-12-03 15:09:22 +01:00
|
|
|
|
%br
|
2017-04-06 19:10:25 +02:00
|
|
|
|
%a.text-info{ href: 'https://fcp.integ01.dev-franceconnect.fr/a-propos', target: '_blank' }
|
2016-01-29 13:28:32 +01:00
|
|
|
|
Qu’est-ce que FranceConnect ?
|
|
|
|
|
|
|
|
|
|
%hr
|
2017-03-07 10:15:33 +01:00
|
|
|
|
|
|
|
|
|
.text-left
|
|
|
|
|
= simple_form_for @user, url: user_session_path do |f|
|
|
|
|
|
= f.input :email
|
|
|
|
|
= f.input :password, label: 'Mot de passe', input_html: { value: @user.password }
|
|
|
|
|
- if devise_mapping.rememberable?
|
|
|
|
|
= f.input :remember_me, as: :boolean, label: 'Se souvenir de moi'
|
|
|
|
|
.text-center
|
2017-04-06 17:18:03 +02:00
|
|
|
|
= f.submit "Se connecter", class: 'btn btn-primary'
|
2017-03-07 10:15:33 +01:00
|
|
|
|
|
2017-01-03 10:40:09 +01:00
|
|
|
|
- if @user.email != DemoEmails[:gestionnaire] && @user.email != DemoEmails[:admin]
|
|
|
|
|
= render "users/shared/links"
|