Merge pull request #937 from ltGuillaume/patch-3

Autofocus username field on login
This commit is contained in:
Diego Najar 2019-01-28 22:23:10 +01:00 committed by GitHub
commit 36f26aad35
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>';
?>
?>