Autofocus username field on login

This commit is contained in:
Guillaume 2019-01-27 18:07:38 +01:00 committed by GitHub
parent 1255cddf7d
commit 1dae01c021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>';
?>
?>