Browse Source

Autofocus username field

master
Dylan Baker 4 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
 <form class="form" method="POST" action="/login">
3
 <form class="form" method="POST" action="/login">
4
   <div class="form__field">
4
   <div class="form__field">
5
     <label for="username" class="form__label">Username</label>
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
   </div>
7
   </div>
8
   <div class="form__field">
8
   <div class="form__field">
9
     <label for="password" class="form__label">Password</label>
9
     <label for="password" class="form__label">Password</label>

Loading…
Cancel
Save