Login form autofocus

This commit is contained in:
d6bels 2015-11-11 10:42:20 +01:00
parent 944a1711ec
commit 82eb4c8d71

View File

@ -25,7 +25,7 @@
<input type="text" name="username" maxlength="100"
autocapitalize="off"
autocorrect="off" class="form-control textinput textInput"
id="id_username" required
id="id_username" required autofocus
{% if form.username.value %}value="{{ form.username.value }}"{% endif %}>
{% if form.username.errors %}
<p class="text-error">