summaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-03-27 18:22:07 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2021-03-27 18:22:07 +0000
commitffaaea497c44f362a619d95da097def836a28b50 (patch)
tree417ccaae7e1d635408a02f8bd29962f7d8b665fe /templates/registration
parente7947069a2877b47c1dd7a18b686da5bbf3e160b (diff)
downloadtroggle-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.html7
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 %}