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
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ echo Bootstrap::formOpen(array());
echo ' echo '
<div class="form-group"> <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> </div>
'; ';