Merge pull request #937 from ltGuillaume/patch-3
Autofocus username field on login
This commit is contained in:
commit
36f26aad35
|
@ -11,7 +11,7 @@ echo Bootstrap::formOpen(array());
|
|||
|
||||
echo '
|
||||
<div class="form-group">
|
||||
<input type="text" value="'.(isset($_POST['username'])?$_POST['username']:'').'" class="form-control form-control-lg" id="jsusername" name="username" placeholder="'.$L->g('Username').'">
|
||||
<input type="text" value="'.(isset($_POST['username'])?$_POST['username']:'').'" class="form-control form-control-lg" id="jsusername" name="username" placeholder="'.$L->g('Username').'" autofocus>
|
||||
</div>
|
||||
';
|
||||
|
||||
|
@ -34,4 +34,4 @@ echo Bootstrap::formOpen(array());
|
|||
|
||||
echo '</form>';
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue