From 3c987988ec27ed94f28ce6093b4f031c02842c38 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Thu, 10 Oct 2024 01:55:12 +0200 Subject: [PATCH] Remove django-bootstrap4, show errors --- .../templates/pretalx_media_ccc_de/settings.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 9c39d68..f3661dd 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 @@ -1,5 +1,4 @@ {% extends "orga/base.html" %} -{% load bootstrap4 %} {% load i18n %} {% block content %} @@ -7,7 +6,8 @@

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

{% csrf_token %} - {% bootstrap_form form layout='event' %} + {% include "common/forms/errors.html" with errors=form.non_field_errors %} + {{ form }}
@@ -34,7 +34,8 @@

{% trans "Change URLs" %}

{% csrf_token %} - {% bootstrap_form url_form layout='event' %} + {% include "common/forms/errors.html" with errors=url_form.non_field_errors %} + {{ url_form }}