password: add password reset instructions

This commit is contained in:
Pierre de La Morinerie 2021-04-15 18:09:53 +02:00
parent 53fc7386f1
commit 8cb7a49dd9
3 changed files with 9 additions and 1 deletions

View file

@ -9,7 +9,9 @@
= form_for(resource, as: resource_name, url: password_path(resource_name), html: { class: 'form' }) do |f|
%h1 Mot de passe oublié
%h1= t('devise.passwords.new.forgot_your_password')
%p.notice= t('views.passwords.new.send_me_reset_password_instructions')
= f.label :email, 'Email'
= f.email_field :email, autofocus: true

View file

@ -60,6 +60,9 @@ en:
ligne1: A simple tool
ligne2: to manage dematerialized
ligne3: administrative forms.
passwords:
new:
send_me_reset_password_instructions: "Fill-in your account's email, and well send you instructions to reset your password."
modal:
publish:
title:

View file

@ -50,6 +50,9 @@ fr:
ligne1: Un outil simple
ligne2: pour gérer les formulaires
ligne3: administratifs dématérialisés.
passwords:
new:
send_me_reset_password_instructions: "Indiquez lemail de votre compte, et nous vous enverrons un lien pour créer un nouveau mot de passe."
modal:
publish:
title: