2019-04-01 15:03:13 +02:00
|
|
|
|
= content_for(:page_id, 'auth')
|
|
|
|
|
|
2019-01-08 08:20:49 +01:00
|
|
|
|
.auth-form.sign-in-form
|
2018-10-11 10:24:11 +02:00
|
|
|
|
|
2019-08-16 16:22:19 +02:00
|
|
|
|
= form_for User.new, url: user_session_path, html: { class: "form" } do |f|
|
2020-06-03 16:10:11 +02:00
|
|
|
|
%h1.huge-title Connectez-vous
|
2018-10-11 10:24:11 +02:00
|
|
|
|
|
2020-06-03 16:56:55 +02:00
|
|
|
|
= f.label :email, "Email (nom@site.com)"
|
2020-03-31 16:58:36 +02:00
|
|
|
|
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true
|
2017-06-20 10:09:19 +02:00
|
|
|
|
|
2020-06-03 16:56:55 +02:00
|
|
|
|
= f.label :password, "Mot de passe (#{PASSWORD_MIN_LENGTH} caractères minimum)"
|
2020-03-31 16:58:36 +02:00
|
|
|
|
= f.password_field :password, autocomplete: 'current-password'
|
2015-11-20 17:50:27 +01:00
|
|
|
|
|
2019-01-08 08:20:49 +01:00
|
|
|
|
.auth-options
|
2019-08-16 16:12:00 +02:00
|
|
|
|
%div
|
2019-11-18 23:12:03 +01:00
|
|
|
|
= f.check_box :remember_me
|
2019-08-16 16:12:00 +02:00
|
|
|
|
= f.label :remember_me, "Se souvenir de moi", class: 'remember-me'
|
|
|
|
|
|
|
|
|
|
.text-right
|
|
|
|
|
= link_to "Mot de passe oublié ?", new_user_password_path, class: "link"
|
2016-01-29 13:28:32 +01:00
|
|
|
|
|
2019-01-08 08:20:49 +01:00
|
|
|
|
= f.submit "Se connecter", class: "button large primary expand"
|
2017-03-07 10:15:33 +01:00
|
|
|
|
|
2019-04-02 15:03:26 +02:00
|
|
|
|
= render partial: 'shared/france_connect_login', locals: { url: france_connect_particulier_path }
|
2019-08-23 12:15:54 +02:00
|
|
|
|
|
|
|
|
|
%hr
|
|
|
|
|
%p.center
|
|
|
|
|
%span Vous êtes nouveau sur demarches‑simplifiees.fr ?
|
|
|
|
|
%br
|
|
|
|
|
%br
|
2020-07-22 10:32:20 +02:00
|
|
|
|
= link_to "Trouvez votre démarche", COMMENT_TROUVER_MA_DEMARCHE_URL, target: "_blank", class: "button expend secondary"
|