diff --git a/changelog.d/1079.added.md b/changelog.d/1079.added.md new file mode 100644 index 000000000..36bf4c17d --- /dev/null +++ b/changelog.d/1079.added.md @@ -0,0 +1 @@ +Centre HTMX destination page content. diff --git a/src/argus/htmx/templates/htmx/destination/_content.html b/src/argus/htmx/templates/htmx/destination/_content.html index b9be838c4..ca9ae6200 100644 --- a/src/argus/htmx/templates/htmx/destination/_content.html +++ b/src/argus/htmx/templates/htmx/destination/_content.html @@ -1,4 +1,4 @@ -
+
{% include "htmx/destination/_create_form.html" %} {% for error in errors %}

{{ error }}

{% endfor %} {% include "htmx/destination/_form_list.html" %}