From b5af447051089a62eb8908a76b49a82e7c322b57 Mon Sep 17 00:00:00 2001 From: viliambalaz Date: Wed, 12 Jan 2022 17:23:06 +0100 Subject: [PATCH] #334 Add empty div for amend workaround --- .../inforequests/inforequestemail/delete_confirmation.html | 5 ++++- .../inforequestemail/delete_selected_confirmation.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_confirmation.html b/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_confirmation.html index 044be9b5..a24ea3d8 100644 --- a/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_confirmation.html +++ b/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_confirmation.html @@ -1,9 +1,12 @@ {% extends "admin/delete_confirmation.html" %} -{% load amend before from poleno.amend %} +{% load amend before after from poleno.amend %} {% block content %} {% amend %} {{ block.super }} + {% after path="./ul[last()]" %} +
+ {% endafter %} {% before path=".//form//input[@type='submit']" %} {% include "utils/admin/bulk_delete_mixin.html" %} {% endbefore %} diff --git a/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_selected_confirmation.html b/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_selected_confirmation.html index 1b7fb0b7..3bb11338 100644 --- a/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_selected_confirmation.html +++ b/chcemvediet/apps/inforequests/templates/admin/inforequests/inforequestemail/delete_selected_confirmation.html @@ -1,9 +1,12 @@ {% extends "admin/delete_selected_confirmation.html" %} -{% load amend before from poleno.amend %} +{% load amend before after from poleno.amend %} {% block content %} {% amend %} {{ block.super }} + {% after path="./ul[last()]" %} +
+ {% endafter %} {% before path=".//form//input[@type='submit']" %} {% include "utils/admin/bulk_delete_mixin.html" %} {% endbefore %}