]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Autofocus the username field on the login page 3691/head
authorSimounet <contact@simounet.net>
Wed, 11 Jul 2018 18:10:51 +0000 (20:10 +0200)
committerSimounet <contact@simounet.net>
Wed, 11 Jul 2018 18:10:51 +0000 (20:10 +0200)
src/Wallabag/UserBundle/Resources/views/Security/login.html.twig

index 32984c845483e912c1cf30b40f716c221fa85959..3dd98fb642f591ce8e81d9d59d913581ec466862 100644 (file)
@@ -16,7 +16,7 @@
 
             <div class="input-field col s12">
                 <label for="username">{{ 'security.login.username'|trans }}</label>
-                <input type="text" id="username" name="_username" value="{{ last_username }}" />
+                <input type="text" id="username" name="_username" value="{{ last_username }}" autofocus />
             </div>
 
             <div class="input-field col s12">