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 @@ ...@@ -39,7 +39,8 @@
</label> </label>
</th> </th>
<td> <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 %] [% Param('emailsuffix') FILTER html %]
</td> </td>
</tr> </tr>
......
...@@ -75,7 +75,9 @@ ...@@ -75,7 +75,9 @@
Email address: Email address:
[% END %] [% END %]
</span> </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="hidden" id="token" name="token" value="[% issue_hash_token(['create_account']) FILTER html %]">
<input type="submit" id="send" value="Send"> <input type="submit" id="send" value="Send">
</form> </form>
......
...@@ -38,14 +38,14 @@ ...@@ -38,14 +38,14 @@
<td> <td>
<input type="password" name="new_password1"> <input type="password" name="new_password1">
</td> </td>
</tr> </tr>
<tr> <tr>
<th>Confirm new password:</th> <th>Confirm new password:</th>
<td> <td>
<input type="password" name="new_password2"> <input type="password" name="new_password2">
</td> </td>
</tr> </tr>
[% END %] [% END %]
<tr> <tr>
...@@ -78,9 +78,16 @@ ...@@ -78,9 +78,16 @@
[% END %] [% END %]
[% ELSE %] [% ELSE %]
<tr> <tr>
<th>New email address:</th> <th>
[% IF Param('emailsuffix') %]
New login:
[% ELSE %]
New email address:
[% END %]
</th>
<td> <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> </td>
</tr> </tr>
[% END %] [% 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