30 lines
891 B
Text
30 lines
891 B
Text
#form_login.user_connexion_page
|
||
%br
|
||
= render partial: 'users/sessions/resume_procedure'
|
||
|
||
%h2#login_user
|
||
=t('dynamics.users.connexion_title')
|
||
|
||
%a.btn_fc#btn_fcp{href: '/france_connect/particulier'}
|
||
= image_tag 'franceconnect_logo.png'
|
||
|
||
%br
|
||
%a.text-info{href: 'https://fcp.integ01.dev-franceconnect.fr/a-propos', target: '_blank'}
|
||
Qu’est-ce que FranceConnect ?
|
||
|
||
%hr
|
||
|
||
.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
|
||
= f.submit "Se connecter", class:'btn btn-primary'
|
||
|
||
- if @user.email != DemoEmails[:gestionnaire] && @user.email != DemoEmails[:admin]
|
||
= render "users/shared/links"
|
||
|
||
|
||
|