From d79fb436354b6c10d81578aeb845f5d92df4a547 Mon Sep 17 00:00:00 2001 From: Corinne Durrmeyer Date: Fri, 20 Sep 2024 15:07:43 +0200 Subject: [PATCH] Add forgotten hint --- app/views/devise/passwords/edit.html.haml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/views/devise/passwords/edit.html.haml b/app/views/devise/passwords/edit.html.haml index 95cb39a74..4227eaea8 100644 --- a/app/views/devise/passwords/edit.html.haml +++ b/app/views/devise/passwords/edit.html.haml @@ -16,6 +16,9 @@ %legend.fr-fieldset__legend %h1.fr-h2= I18n.t('views.users.passwords.edit.subtitle') + .fr-fieldset__element + %p.fr-text--sm= t('utils.asterisk_html') + .fr-fieldset__element = render Dsfr::InputComponent.new(form: f, attribute: :password, input_type: :password_field, opts: { autofocus: 'true', autocomplete: 'new-password', data: { controller: 'turbo-input', turbo_input_url_value: show_password_complexity_path }, aria: {describedby: 'password_hint'}})