Set email input field to type=email for better UX

This commit is contained in:
Dan Callahan 2014-08-26 11:14:30 -05:00
parent 910b827b98
commit 6cca20fb36

View file

@ -86,7 +86,7 @@ if($_['passwordChangeSupported']) {
?>
<form id="lostpassword" class="section">
<h2><?php p($l->t('Email'));?></h2>
<input type="text" name="email" id="email" value="<?php p($_['email']); ?>"
<input type="email" name="email" id="email" value="<?php p($_['email']); ?>"
placeholder="<?php p($l->t('Your email address'));?>"
autocomplete="on" autocapitalize="off" autocorrect="off" />
<span class="msg"></span><br />