2018-10-02 16:03:15 +02:00
|
|
|
- content_for(:title, 'Mot de passe oublié')
|
2016-02-08 19:32:18 +01:00
|
|
|
|
2018-10-02 16:03:15 +02:00
|
|
|
- content_for :footer do
|
|
|
|
= render partial: 'root/footer'
|
2016-02-08 19:32:18 +01:00
|
|
|
|
2023-08-30 18:25:03 +02:00
|
|
|
.fr-container.fr-my-5w
|
|
|
|
.fr-grid-row.fr-grid-row--center
|
|
|
|
.fr-col-lg-6
|
|
|
|
= devise_error_messages!
|
2018-10-02 16:03:15 +02:00
|
|
|
|
2023-08-30 18:25:03 +02:00
|
|
|
= form_for(resource, as: resource_name, url: password_path(resource_name)) do |f|
|
2024-07-25 14:05:42 +02:00
|
|
|
%fieldset.fr-mb-0.fr-fieldset
|
|
|
|
%legend.fr-fieldset__legend
|
2023-08-30 18:25:03 +02:00
|
|
|
%h1.fr-h2= t('devise.passwords.new.forgot_your_password')
|
2018-10-02 16:03:15 +02:00
|
|
|
|
2023-08-30 18:25:03 +02:00
|
|
|
.fr-fieldset__element
|
|
|
|
%p.fr-text--sm= t('devise.passwords.new.send_me_reset_password_instructions')
|
2021-04-15 18:09:53 +02:00
|
|
|
|
2023-08-30 18:25:03 +02:00
|
|
|
.fr-fieldset__element
|
|
|
|
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { autocomplete: 'email', autofocus: true })
|
2018-10-02 16:03:15 +02:00
|
|
|
|
2024-09-19 11:31:06 +02:00
|
|
|
= f.submit t('devise.passwords.new.request_new_password'), class: 'fr-btn fr-btn--lg fr-mt-4w', 'data-email-input-target': 'next'
|