Automatically focus username field in login view (#1549)

This commit is contained in:
Matt Scott
2023-04-28 04:47:19 -04:00
committed by GitHub

View File

@ -40,6 +40,7 @@
<div class="form-group">
<input type="text" class="form-control" placeholder="Username" name="username"
data-error="Please input your username" required
autofocus
{% if username %}value="{{ username }}" {% endif %}>
<span class="help-block with-errors"></span>
</div>