From c77b88c2f74420c9b74821683330829624be55b0 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 20 Apr 2023 10:17:40 +0200 Subject: [PATCH] Fix add more checkbox in login and search form --- nummi/main/templates/main/form/base.html | 32 +++++++++++----------- nummi/main/templates/main/form/login.html | 12 ++++---- nummi/main/templates/main/form/search.html | 9 ++++-- 3 files changed, 29 insertions(+), 24 deletions(-) diff --git a/nummi/main/templates/main/form/base.html b/nummi/main/templates/main/form/base.html index e2cc2e4..d4c9652 100644 --- a/nummi/main/templates/main/form/base.html +++ b/nummi/main/templates/main/form/base.html @@ -21,27 +21,27 @@ {% endfor %} - - - - - - - - - - {% block buttons %} + + {% block buttons %} + + + + + + + + {% if not form.instance.adding %} {% translate "Delete" %} {% endif %} - {% endblock %} - - + + + {% endblock %} {% endblock %} diff --git a/nummi/main/templates/main/form/login.html b/nummi/main/templates/main/form/login.html index 1dcd88e..4e344c7 100644 --- a/nummi/main/templates/main/form/login.html +++ b/nummi/main/templates/main/form/login.html @@ -1,9 +1,11 @@ {% extends "main/form/base.html" %} {% load i18n %} {% block buttons %} -
- - - -
+ + + + + + + {% endblock %} diff --git a/nummi/main/templates/main/form/search.html b/nummi/main/templates/main/form/search.html index 6b71216..ffb1775 100644 --- a/nummi/main/templates/main/form/search.html +++ b/nummi/main/templates/main/form/search.html @@ -1,7 +1,10 @@ {% extends "main/form/base.html" %} {% load i18n %} {% block buttons %} -
- -
+ + + + + + {% endblock %}