Remove user_email input autofocus on agent page
This avoid automatic scroll on page load so the AgentConnect button is visible.
This commit is contained in:
parent
6253188a77
commit
7584c17342
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue