summaryrefslogtreecommitdiffstats
path: root/askbot/templates
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-05 18:42:28 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-05-05 18:42:28 -0400
commitd0988dc33088b8aedb6e4b3ae2636b13c0d744f5 (patch)
tree6ffaa2e94758b1faa8a972446a27832dde2daaa3 /askbot/templates
parent9c56383cd0525d0e6e5463e1c8a70d2e9d66fd99 (diff)
downloadaskbot-d0988dc33088b8aedb6e4b3ae2636b13c0d744f5.tar.gz
askbot-d0988dc33088b8aedb6e4b3ae2636b13c0d744f5.tar.bz2
askbot-d0988dc33088b8aedb6e4b3ae2636b13c0d744f5.zip
added auto-focus to the registration page
Diffstat (limited to 'askbot/templates')
-rw-r--r--askbot/templates/authopenid/complete.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/askbot/templates/authopenid/complete.html b/askbot/templates/authopenid/complete.html
index 835fd72f..becd1517 100644
--- a/askbot/templates/authopenid/complete.html
+++ b/askbot/templates/authopenid/complete.html
@@ -76,5 +76,8 @@ anyone, must be valid</i>)
{% endblock %}
<!-- end complete.html -->
{% block endjs %}
+ <script type="text/javascript">
+ $('#id_username').focus();
+ </script>
{{ macros.one_shot_form_js(form='#register-form', submit_button='#register-button') }}
{% endblock %}