fix: issues of new login ui (#1241)

* fix: i18n of register

* fix: autofocus
This commit is contained in:
Livio Amstutz 2021-02-05 14:33:53 +01:00 committed by GitHub
parent 8f105c3229
commit 3428046ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -133,7 +133,7 @@ EmailVerificationDone:
Title: E-Mail Verification Title: E-Mail Verification
Description: Your email address has been successfully verified. Description: Your email address has been successfully verified.
RegistrationOption: RegisterOption:
Title: Registration Options Title: Registration Options
Description: Choose how you'd like to register Description: Choose how you'd like to register
RegisterUsernamePassword: With username password RegisterUsernamePassword: With username password

View File

@ -18,7 +18,7 @@
<div class="lgn-field"> <div class="lgn-field">
<label class="lgn-label" for="firstname">{{t "Registration.Firstname"}}</label> <label class="lgn-label" for="firstname">{{t "Registration.Firstname"}}</label>
<input class="lgn-input" type="text" id="firstname" name="firstname" autocomplete="given-name" <input class="lgn-input" type="text" id="firstname" name="firstname" autocomplete="given-name"
value="{{ .Firstname }}" required> value="{{ .Firstname }}" autofocus required>
</div> </div>
<div class="lgn-field"> <div class="lgn-field">
<label class="lgn-label" for="lastname">{{t "Registration.Lastname"}}</label> <label class="lgn-label" for="lastname">{{t "Registration.Lastname"}}</label>
@ -29,8 +29,7 @@
<div class="lgn-field double"> <div class="lgn-field double">
<label class="lgn-label" for="email">{{t "Registration.Email"}}</label> <label class="lgn-label" for="email">{{t "Registration.Email"}}</label>
<input class="lgn-input" type="text" id="email" name="email" autocomplete="email" value="{{ .Email }}" <input class="lgn-input" type="text" id="email" name="email" autocomplete="email" value="{{ .Email }}" required>
autofocus required>
</div> </div>
<div class="double-col"> <div class="double-col">