44 lines
1.5 KiB
Text
44 lines
1.5 KiB
Text
.two-columns
|
||
.login-wrapper
|
||
.preview
|
||
= image_tag "landing/hero/dematerialiser.svg"
|
||
.baseline.center
|
||
%h3 Un outil simple
|
||
%p
|
||
pour gérer les formulaires
|
||
%br
|
||
administratifs dématérialisés.
|
||
.login-form
|
||
%h1.center Connectez-vous
|
||
|
||
= form_for @user, url: user_session_path, html: { class: "form" } do |f|
|
||
= f.label :email, "Email"
|
||
= f.text_field :email
|
||
|
||
= f.label :password, "Mot de passe"
|
||
= f.password_field :password, value: @user.password, placeholder: "8 caractères minimum"
|
||
.reset-password.text-right
|
||
= link_to "Mot de passe oublié ?", new_password_path(resource_name), class: "link"
|
||
|
||
- if devise_mapping.rememberable?
|
||
= f.check_box :remember_me, as: :boolean
|
||
= f.label :remember_me, "Se souvenir de moi"
|
||
|
||
= f.submit "Se connecter", class: "button large primary expand"
|
||
|
||
.separation.center
|
||
ou
|
||
|
||
.center
|
||
= image_tag "login-with-fc-hover.svg", style: "display: none"
|
||
= link_to "", france_connect_particulier_path, class: "login-with-fc"
|
||
|
||
.center
|
||
= link_to "Qu’est-ce que FranceConnect ?", "https://franceconnect.gouv.fr/", target: "_blank", class: "link"
|
||
|
||
- if devise_mapping.registerable?
|
||
%hr
|
||
%p.register
|
||
%span
|
||
Nouveau sur TPS ?
|
||
= link_to "Créer un compte", new_registration_path(resource_name), class: "button"
|