From 3428046ffa38b4ab9089c0f583fae68aff93792f Mon Sep 17 00:00:00 2001 From: Livio Amstutz Date: Fri, 5 Feb 2021 14:33:53 +0100 Subject: [PATCH] fix: issues of new login ui (#1241) * fix: i18n of register * fix: autofocus --- internal/ui/login/static/i18n/en.yaml | 2 +- internal/ui/login/static/templates/register.html | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/internal/ui/login/static/i18n/en.yaml b/internal/ui/login/static/i18n/en.yaml index 2322f3e0a2..18a759d17b 100644 --- a/internal/ui/login/static/i18n/en.yaml +++ b/internal/ui/login/static/i18n/en.yaml @@ -133,7 +133,7 @@ EmailVerificationDone: Title: E-Mail Verification Description: Your email address has been successfully verified. -RegistrationOption: +RegisterOption: Title: Registration Options Description: Choose how you'd like to register RegisterUsernamePassword: With username password diff --git a/internal/ui/login/static/templates/register.html b/internal/ui/login/static/templates/register.html index 7b5e874349..22b00471a0 100644 --- a/internal/ui/login/static/templates/register.html +++ b/internal/ui/login/static/templates/register.html @@ -18,7 +18,7 @@
+ value="{{ .Firstname }}" autofocus required>
@@ -29,8 +29,7 @@
- +