Commit 82eb4c8d by d6bels

Login form autofocus

parent 944a1711
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<input type="text" name="username" maxlength="100" <input type="text" name="username" maxlength="100"
autocapitalize="off" autocapitalize="off"
autocorrect="off" class="form-control textinput textInput" 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.value %}value="{{ form.username.value }}"{% endif %}>
{% if form.username.errors %} {% if form.username.errors %}
<p class="text-error"> <p class="text-error">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment