From a2438a4ad796c1b258357c187b534fba15789edf Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Fri, 11 Oct 2024 00:13:12 +0200 Subject: [PATCH] Don't render form errors twice --- .../templates/pretalx_media_ccc_de/settings.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html b/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html index f3661dd..2079339 100644 --- a/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html +++ b/pretalx_media_ccc_de/templates/pretalx_media_ccc_de/settings.html @@ -6,7 +6,6 @@

{% trans "Set up media.ccc.de sync" %}

{% csrf_token %} - {% include "common/forms/errors.html" with errors=form.non_field_errors %} {{ form }}
@@ -32,15 +31,7 @@

{% trans "Set up media.ccc.de sync" %}

{% if url_form %}

{% trans "Change URLs" %}

- - {% csrf_token %} - {% include "common/forms/errors.html" with errors=url_form.non_field_errors %} - {{ url_form }} - - - + {% include "orga/includes/base_form.html" with form=url_form %} {% endif %} {% endblock %}