Wolfram wanted a small usability improvement that's easy to add: placing
the cursor automatically in the user name field when loading the login
page.
Suggested-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Acked-by: Stephen Finucane <stephen.finucane@intel.com>
{% block title %}Login{% endblock %}
{% block heading %}Login{% endblock %}
{% block title %}Login{% endblock %}
{% block heading %}Login{% endblock %}
+{% block headers %}
+ <script type="text/javascript">
+ $(function() {
+ $('#id_username').focus()
+ });
+ </script>
+{% endblock %}
{% block body %}
<form method="post">
{% block body %}
<form method="post">