Use input type="email" in the registration form.

This commit is contained in:
Max Goodman
2013-02-20 13:20:21 -08:00
parent f0b4d8fbdb
commit e22d31be91
2 changed files with 3 additions and 2 deletions

View File

@@ -2031,7 +2031,8 @@ li.searchfacet {
.user-form input.logtxt { width: 125px; }
.user-form input[type=text],
.user-form input[type=password] {
.user-form input[type=password],
.user-form input[type=email] {
width: 125px;
border: 1px solid #A0A0A0;
margin-top: 2px;

View File

@@ -81,7 +81,7 @@
${_('account recovery email')}: &nbsp;<i>(${_('optional')})
</i></label>
<input value="" name="email" id="email_${op}"
type="text" maxlength="50" tabindex="${tabindex}"/>
type="email" maxlength="50" tabindex="${tabindex}"/>
<label for="email_${op}" class="note">${_('we will only send email at your request')}</label>
%if register:
${error_field("BAD_EMAILS", "email", kind="span")}