Commit ec84eeb8 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 686333: Bugzilla login field should be <input type=email>

r/a=justdave
parent 77a59a45
......@@ -39,7 +39,8 @@
</label>
</th>
<td>
<input size="35" id="Bugzilla_login" name="Bugzilla_login">
<input size="35" id="Bugzilla_login" name="Bugzilla_login"
[%- ' type="email"' UNLESS Param('emailsuffix') %]>
[% Param('emailsuffix') FILTER html %]
</td>
</tr>
......
......@@ -75,7 +75,9 @@
Email address:
[% END %]
</span>
<input size="35" id="login" name="login"> [% Param('emailsuffix') FILTER html %]
<input size="35" id="login" name="login"
[%- ' type="email"' UNLESS Param('emailsuffix') %]>
[% Param('emailsuffix') FILTER html %]
<input type="hidden" id="token" name="token" value="[% issue_hash_token(['create_account']) FILTER html %]">
<input type="submit" id="send" value="Send">
</form>
......
......@@ -38,14 +38,14 @@
<td>
<input type="password" name="new_password1">
</td>
</tr>
</tr>
<tr>
<th>Confirm new password:</th>
<td>
<input type="password" name="new_password2">
</td>
</tr>
</tr>
[% END %]
<tr>
......@@ -78,9 +78,16 @@
[% END %]
[% ELSE %]
<tr>
<th>New email address:</th>
<th>
[% IF Param('emailsuffix') %]
New login:
[% ELSE %]
New email address:
[% END %]
</th>
<td>
<input size="35" name="new_login_name">
<input size="35" id="new_login_name" name="new_login_name"
[%- ' type="email"' UNLESS Param('emailsuffix') %]>
</td>
</tr>
[% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment