Add forgotten hint

This commit is contained in:
Corinne Durrmeyer 2024-09-20 15:07:43 +02:00
parent 6e960d2b21
commit d79fb43635
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -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'}})