mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-19 13:18:26 +02:00
Autofocus username input in login form (#2150)
This commit is contained in:
parent
1edb31aac6
commit
c0cca7eb6f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@
|
|||
{{ form.hidden_tag() }}
|
||||
<div class="form-group">
|
||||
{{ form.username.label }}<br>
|
||||
{{ form.username(size=32, class_="form-control", placeholder_="Username") }}<br>
|
||||
{{ form.username(size=32, class_="form-control", placeholder_="Username", autofocus_=True) }}<br>
|
||||
{% for error in form.username.errors %}
|
||||
<span style="color: red;">[{{ error }}]</span>
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue