Merge pull request #9933 from rdubigny/patch-1

Remove user_email input autofocus on agent page
This commit is contained in:
LeSim 2024-01-24 12:53:30 +00:00 committed by GitHub
commit 6fed91a668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,7 @@
%p.fr-text--sm= t('utils.mandatory_champs')
.fr-fieldset__element
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { autocomplete: 'email', autofocus: true }) do |c|
= render Dsfr::InputComponent.new(form: f, attribute: :email, input_type: :email_field, opts: { autocomplete: 'email' }) do |c|
- c.with_label { t('.pro_email') }
.fr-fieldset__element