From 58c18195a657f83dc8350aa6b85315bcfb2cf4c5 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Tue, 18 Apr 2023 13:38:29 +0200 Subject: [PATCH] Update login form --- nummi/main/templates/main/form/login.html | 9 +++++++++ nummi/main/templates/main/login.html | 19 ++++--------------- 2 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 nummi/main/templates/main/form/login.html diff --git a/nummi/main/templates/main/form/login.html b/nummi/main/templates/main/form/login.html new file mode 100644 index 0000000..66f5e65 --- /dev/null +++ b/nummi/main/templates/main/form/login.html @@ -0,0 +1,9 @@ +{% extends "main/form/base.html" %} +{% load i18n %} +{% block buttons %} +
+ + + +
+{% endblock %} diff --git a/nummi/main/templates/main/login.html b/nummi/main/templates/main/login.html index 67218e5..32149b6 100644 --- a/nummi/main/templates/main/login.html +++ b/nummi/main/templates/main/login.html @@ -3,6 +3,9 @@ {% load i18n %} {% block link %} {{ block.super }} + @@ -11,20 +14,6 @@

{% translate "Log In" %}

{% csrf_token %} - {% if form.non_field_errors %} - - {% endif %} - {% for field in form %} - {{ field.errors }} - -
{{ field }}
- {% endfor %} -
- - - -
+ {% include "main/form/login.html" %}
{% endblock %}