diff options
Diffstat (limited to 'templates/registration/login.html')
-rw-r--r-- | templates/registration/login.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html index 783070be..c722527d 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,4 +1,6 @@ {% extends "base.html" %} +{% load static from staticfiles %} + {% block title %}{{ BRANDING_DISTRONAME }} - Developer Login{% endblock %} {% block content %} @@ -20,3 +22,14 @@ </div> {% endblock %} + +{% block script_block %} +{% load cdn %}{% jquery %} +<script type="text/javascript" src="{% static "archweb.js" %}"></script> +<script type="text/javascript"> + modify_attributes({ + '#id_username': {autocorrect: 'off', autocapitalize: 'off'} + }); + $('#id_username').focus(); +</script> +{% endblock %} |