2017-12-21 11:41:44 +01:00
|
|
|
.super-admin.flex.justify-center
|
|
|
|
%div
|
2020-11-04 16:35:15 +01:00
|
|
|
%h2.huge-title Espace Manager
|
|
|
|
.auth-form.sign-in-form
|
|
|
|
|
2020-11-05 17:50:44 +01:00
|
|
|
= form_for SuperAdmin.new, url: super_admin_session_path, html: { class: "form" } do |f|
|
2022-08-22 17:55:39 +02:00
|
|
|
%h1.fr-h2 Connectez-vous
|
2020-11-04 16:35:15 +01:00
|
|
|
|
2022-09-06 15:24:32 +02:00
|
|
|
= f.label :email, "Email"
|
2020-11-04 16:35:15 +01:00
|
|
|
= f.text_field :email, type: :email, autocomplete: 'username', autofocus: true
|
|
|
|
|
|
|
|
= f.label :password, "Mot de passe (#{PASSWORD_MIN_LENGTH} caractères minimum)"
|
|
|
|
= f.password_field :password, autocomplete: 'current-password'
|
|
|
|
|
|
|
|
= f.label :otp_attempt, 'Code OTP (uniquement si vous avez déjà activé 2FA)'
|
|
|
|
= f.text_field :otp_attempt
|
|
|
|
|
2022-11-14 12:21:16 +01:00
|
|
|
%p= link_to "Mot de passe oublié ou réinitialisation 2FA ?", new_super_admin_password_path, class: "link"
|
|
|
|
= f.submit "Se connecter", class: "fr-btn fr-btn--lg"
|