From a0ca4c858350431c0dbb22a903b19c41578c4d19 Mon Sep 17 00:00:00 2001 From: Ionut Staicu Date: Mon, 14 Jul 2014 09:49:05 +0300 Subject: [PATCH 1/2] Email field should be type=email --- .../discourse/templates/modal/create_account.js.handlebars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars b/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars index affc9f60b53..62e9619a611 100644 --- a/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars +++ b/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars @@ -18,7 +18,7 @@ - {{input value=accountEmail id="new-account-email" disabled=emailValidated}} + {{input type="email" value=accountEmail id="new-account-email" disabled=emailValidated}}  {{input-tip validation=emailValidation}} From 36d810a4203ee72cfb92fee924402b14b29ce38e Mon Sep 17 00:00:00 2001 From: Ionut Staicu Date: Mon, 14 Jul 2014 09:50:13 +0300 Subject: [PATCH 2/2] Added some style to email fields --- app/assets/stylesheets/mobile/login.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/mobile/login.scss b/app/assets/stylesheets/mobile/login.scss index 917c52f014e..f0f59ec1163 100644 --- a/app/assets/stylesheets/mobile/login.scss +++ b/app/assets/stylesheets/mobile/login.scss @@ -37,7 +37,7 @@ a#forgot-password-link {clear: left; float: left; } .btn-primary {margin-bottom: 10px; font-size: 15; float: left;} .create-account .modal-body { - input[type=text], input[type=password] { + input[type=text], input[type=email], input[type=password] { display: inline-block; } tr.input {