Browse Source

Autofocus username field

master
Dylan Baker 3 years ago
parent
commit
d5663ceecc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      templates/login.html

+ 1
- 1
templates/login.html View File

@@ -3,7 +3,7 @@
3 3
 <form class="form" method="POST" action="/login">
4 4
   <div class="form__field">
5 5
     <label for="username" class="form__label">Username</label>
6
-    <input class="form__text-field" type="text" name="username" required />
6
+    <input class="form__text-field" type="text" name="username" required autofocus />
7 7
   </div>
8 8
   <div class="form__field">
9 9
     <label for="password" class="form__label">Password</label>

Loading…
Cancel
Save