diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-03-27 18:22:07 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-03-27 18:22:07 +0000 |
commit | ffaaea497c44f362a619d95da097def836a28b50 (patch) | |
tree | 417ccaae7e1d635408a02f8bd29962f7d8b665fe /templates/registration | |
parent | e7947069a2877b47c1dd7a18b686da5bbf3e160b (diff) | |
download | troggle-ffaaea497c44f362a619d95da097def836a28b50.tar.gz troggle-ffaaea497c44f362a619d95da097def836a28b50.tar.bz2 troggle-ffaaea497c44f362a619d95da097def836a28b50.zip |
re-ordering middleware and logon system
Diffstat (limited to 'templates/registration')
-rw-r--r-- | templates/registration/login.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/registration/login.html b/templates/registration/login.html index 388d41b..da61169 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -7,14 +7,21 @@ <p>Your username and password didn't match. Please try again.</p> {% endif %} +<div align="center"> +<pre>This uses the registration/login.html template</pre> + <form method="post" action=".">{% csrf_token %} <table> <tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr> <tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr> </table> + + <input type="submit" value="login" /> <input type="hidden" name="next" value="{{ next }}" /> </form> + +</div> {% endblock %} |