diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-01-25 14:52:22 +0100 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-01-25 14:52:22 +0100 |
commit | 9e179cd7889ab9f47c41cee8ae9025ddf81aea04 (patch) | |
tree | ec89886d3c49fd41de4844b6e7f37bf4fabe0431 /hyperkitty/templates/login.html | |
parent | 431677576603b58c42fc488f174ef0254a7a430c (diff) | |
download | hyperkitty-9e179cd7889ab9f47c41cee8ae9025ddf81aea04.tar.gz hyperkitty-9e179cd7889ab9f47c41cee8ae9025ddf81aea04.tar.xz hyperkitty-9e179cd7889ab9f47c41cee8ae9025ddf81aea04.zip |
Fixes on the login form
Diffstat (limited to 'hyperkitty/templates/login.html')
-rw-r--r-- | hyperkitty/templates/login.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/hyperkitty/templates/login.html b/hyperkitty/templates/login.html index 6c708bf..3a3bfa6 100644 --- a/hyperkitty/templates/login.html +++ b/hyperkitty/templates/login.html @@ -8,15 +8,14 @@ {% block content %} -<div class="center"> <div id="loginform"> <h2>Login with username and password</h2> -<form action="" method="post" class="login mm_clear"> + +<form action="{{ request.path }}?next={{ next }}" method="post" class="login mm_clear"> {% csrf_token %} {{ form.as_p }} - <input type="hidden" name="next" value="{{ next }}" /> <div class="field"> <button class="btn btn-primary" type="submit"> {% trans "Login" %} @@ -41,7 +40,6 @@ </ul> </div> -</div> {% endblock %} @@ -66,6 +64,9 @@ }); </script> <!-- end browserid stuff --> +<script type="text/javascript"> + document.getElementById('id_username').focus(); +</script> {% endblock additionaljs %} {# vim: set noet: #} |