Merge pull request #5110 from overleaf/jpa-de-ng-autofocus

[web] use HTML5 autofocus flag on all the input fields

GitOrigin-RevId: 9a984abf09d5cd098f19c3d8c731961e881903c4
This commit is contained in:
Jakob Ackermann 2021-09-15 12:33:49 +02:00 committed by Copybot
parent 317f8fa73f
commit 780d5ca184
3 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@ block content
name='email',
required,
placeholder='email@example.com',
focus="true"
autofocus="true"
)
.form-group
input.form-control(

View file

@ -56,7 +56,7 @@ block content
required,
ng-model="email",
ng-model-options="{ updateOn: 'blur' }",
focus="true"
autofocus="true"
)
span.small.text-primary(ng-show="registerForm.email.$invalid && registerForm.email.$dirty")
| #{translate("must_be_email_address")}
@ -100,7 +100,7 @@ block content
required,
ng-model="email",
ng-model-options="{ updateOn: 'blur' }",
focus="true"
autofocus="true"
)
span.small.text-primary(ng-show="registerLdapForm.email.$invalid && registerLdapForm.email.$dirty")
| #{translate("must_be_email_address")}
@ -133,7 +133,7 @@ block content
required,
ng-model="email",
ng-model-options="{ updateOn: 'blur' }",
focus="true"
autofocus="true"
)
span.small.text-primary(ng-show="registerSamlForm.email.$invalid && registerSamlForm.email.$dirty")
| #{translate("must_be_email_address")}

View file

@ -51,7 +51,7 @@ block content
required,
ng-model="password",
complex-password,
focus="true"
autofocus="true"
)
span.small.text-primary(ng-show="activationForm.password.$error.complexPassword", ng-bind-html="complexPasswordErrorMessage")
.actions