From 8c91d418ddc240cf6f1faf3561c140b1bdbce130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 31 Jan 2018 20:09:59 +0100 Subject: [PATCH] UX: improve semantic of login button for better password managers compatibility --- .../discourse/templates/modal/login.hbs | 29 +++++-------------- app/assets/stylesheets/desktop/login.scss | 3 ++ 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/login.hbs b/app/assets/javascripts/discourse/templates/modal/login.hbs index 81b3fb611df..9b47c129588 100644 --- a/app/assets/javascripts/discourse/templates/modal/login.hbs +++ b/app/assets/javascripts/discourse/templates/modal/login.hbs @@ -6,24 +6,14 @@
- - + + - - - + + + @@ -40,14 +30,11 @@
- - - {{text-field value=loginName placeholderKey="login.email_placeholder" id="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}} - {{text-field value=loginName placeholderKey="login.email_placeholder" id="login-account-name" autocorrect="off" autocapitalize="off" autofocus="autofocus"}}
- - - {{password-field value=loginPassword type="password" id="login-account-password" maxlength="200" capsLockOn=capsLockOn}}   - - {{i18n 'forgot_password.action'}} - {{password-field value=loginPassword type="password" id="login-account-password" maxlength="200" capsLockOn=capsLockOn}}{{i18n 'forgot_password.action'}}