Skip to content

Commit

Permalink
Merge pull request #1127 from Uninett/fix-create-htmx-creating-duplic…
Browse files Browse the repository at this point in the history
…ate-divs

Fix create destination form generating extra div when submitting
  • Loading branch information
stveit authored Jan 15, 2025
2 parents f1ecafa + a01ced4 commit 2b8a879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/1129.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix create destination form generating extra div when submitting.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<form hx-post="{% url 'htmx:htmx-create' %}"
hx-trigger="submit"
hx-target="#destination-content"
hx-swap="outerHTML"
class="max-w-4xl w-full">
{% csrf_token %}
<fieldset class="p-2 border rounded-box border-primary items-center gap-4 flex items-end justify-center">
Expand Down

0 comments on commit 2b8a879

Please sign in to comment.