Autofocus the login form on the username field
This commit is contained in:
parent
51a837dce8
commit
7b9a43d3d4
|
@ -15,4 +15,10 @@
|
|||
|
||||
<p>{% trans "Forgot password?" %} <a href="{% url auth_password_reset %}">{% trans "Reset it!" %}</a></p>
|
||||
<p>{% trans "Not a member?" %} <a href="{% url registration_register %}">{% trans "Register!" %}</a></p>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
document.getElementById('id_username').focus();
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue