From e21e6afa913bfadb2c126b6cd6f0312b31d0d662 Mon Sep 17 00:00:00 2001 From: Simon Oliver Tveit Date: Wed, 15 Jan 2025 09:15:51 +0100 Subject: [PATCH 1/2] Replace entire div and not just content of div --- src/argus/htmx/templates/htmx/destination/_create_form.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/argus/htmx/templates/htmx/destination/_create_form.html b/src/argus/htmx/templates/htmx/destination/_create_form.html index 520fe4154..08dbde887 100644 --- a/src/argus/htmx/templates/htmx/destination/_create_form.html +++ b/src/argus/htmx/templates/htmx/destination/_create_form.html @@ -1,6 +1,7 @@
{% csrf_token %}
From a01ced4d4b327785e834c00964266f954fc0453c Mon Sep 17 00:00:00 2001 From: Simon Oliver Tveit Date: Wed, 15 Jan 2025 09:33:04 +0100 Subject: [PATCH 2/2] Add changelog --- changelog.d/1129.fixed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/1129.fixed.md diff --git a/changelog.d/1129.fixed.md b/changelog.d/1129.fixed.md new file mode 100644 index 000000000..18d77f5a4 --- /dev/null +++ b/changelog.d/1129.fixed.md @@ -0,0 +1 @@ +Fix create destination form generating extra div when submitting.