diff --git a/nyaa/templates/login.html b/nyaa/templates/login.html
index a02cb75..1dc6637 100644
--- a/nyaa/templates/login.html
+++ b/nyaa/templates/login.html
@@ -12,7 +12,7 @@
- {{ render_field(form.username, class_='form-control', placeholder='Username', autofocus='') }}
+ {{ render_field(form.username, class_='form-control', placeholder='Username', autofocus='', tabindex='1') }}
@@ -32,7 +32,7 @@
{% endif%}
- {{ form.password(title=form.password.description, class_='form-control') | safe }}
+ {{ form.password(title=form.password.description, class_='form-control', tabindex='2') | safe }}
{% if form.password.errors %}
{% if form.password.errors|length < 2 %}
@@ -54,7 +54,7 @@