From a903e5ed1fc65fb22a4bfa63259c04b375251d33 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Thu, 29 Oct 2020 12:40:30 +0100 Subject: [PATCH] login template added --- input/templates/registration/login.html | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 input/templates/registration/login.html diff --git a/input/templates/registration/login.html b/input/templates/registration/login.html new file mode 100644 index 0000000..cbceed1 --- /dev/null +++ b/input/templates/registration/login.html @@ -0,0 +1,35 @@ +{% block content %} + + {% if form.errors %} +

Your username and password didn't match. Please try again.

+ {% endif %} + + {% if next %} + {% if user.is_authenticated %} +

Your account doesn't have access to this page. To proceed, + please login with an account that has access.

+ {% else %} +

Please login to see this page.

+ {% endif %} + {% endif %} + +
+ {% csrf_token %} + + + + + + + + + +
{{ form.username.label_tag }}{{ form.username }}
{{ form.password.label_tag }}{{ form.password }}
+ + +
+ + {# Assumes you setup the password_reset view in your URLconf #} +

Lost password?

+ +{% endblock %}