diff options
author | William Lachance <wrlach@gmail.com> | 2017-06-07 19:28:04 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-06-07 19:28:04 +0200 |
commit | ef7f6526d83caf6a39dc8ed6c96a2c8675ae4011 (patch) | |
tree | ee0440043e795023e5408bf48562ac28671d9475 /template/en | |
parent | b4a3ff8f0346ce217cd54d1ace95585db723401a (diff) | |
download | bugzilla-ef7f6526d83caf6a39dc8ed6c96a2c8675ae4011.tar.gz bugzilla-ef7f6526d83caf6a39dc8ed6c96a2c8675ae4011.tar.xz |
Bug 1370904 - Add "required" property to login input elements
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/account/auth/login-small.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/account/auth/login.html.tmpl | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 7ca0a44d9..1f38f18b7 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -53,12 +53,15 @@ name="Bugzilla_login" title="Login" placeholder="email address" + type="email" + required > <input class="bz_password" id="Bugzilla_password[% qs_suffix FILTER html %]" name="Bugzilla_password" type="password" title="Password" + required > <input class="bz_password bz_default_hidden bz_mini_login_help" type="text" id="Bugzilla_password_dummy[% qs_suffix %]" value="password" diff --git a/template/en/default/account/auth/login.html.tmpl b/template/en/default/account/auth/login.html.tmpl index 33aeaeaea..160fad43b 100644 --- a/template/en/default/account/auth/login.html.tmpl +++ b/template/en/default/account/auth/login.html.tmpl @@ -47,13 +47,14 @@ <div class="field-login"> <label for="Bugzilla_login">Email Address:</label> <input id="Bugzilla_login" name="Bugzilla_login" - [%- ' type="email"' UNLESS Param('emailsuffix') %]> + [%- ' type="email"' UNLESS Param('emailsuffix') %] + required> [% Param('emailsuffix') FILTER html %] </div> <div class="field-password"> <label for="Bugzilla_password">Password:</label> - <input type="password" id="Bugzilla_password" name="Bugzilla_password"> + <input type="password" id="Bugzilla_password" name="Bugzilla_password" required> </div> [% IF Param('rememberlogin') == 'defaulton' || |