Skip to content

Commit

Permalink
Using type='email' for HTML5 compatible parsers to catch errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane Tomlinson committed Jul 20, 2011
1 parent c6bc4c0 commit 27f578a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browserid/static/dialog/views/addemail.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="summary">Setting up a up a new email address is easy, tell us what it is and we'll get started:</div>
<div class="formRow">
<label for="email_input">Email</label>
<input type="text" id="email_input"></input>
<div class="note"></div>
<input type="email" id="email_input" />
<span class="note"></span>
</div>
</div>
2 changes: 1 addition & 1 deletion browserid/static/dialog/views/authenticate.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<p class="prompt">Signing into <span class="sitename bad"><%= sitename %></span>:</p>
<div class="formRow">
<label for="email_input"> Email </label>
<input type="text" id="email_input" />
<input type="email" id="email_input" />
</div>
<div class="formRow">
<label for="password_input"> Password </label>
Expand Down

0 comments on commit 27f578a

Please sign in to comment.