From c36904f27481e8533514e885cc0086488c7e0c01 Mon Sep 17 00:00:00 2001 From: Tobias Kunze Date: Thu, 10 Oct 2024 01:56:06 +0200 Subject: [PATCH] Remove django-bootstrap4 --- .../templates/pretalx_pages/form.html | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pretalx_pages/templates/pretalx_pages/form.html b/pretalx_pages/templates/pretalx_pages/form.html index d1a3c12..728bf60 100644 --- a/pretalx_pages/templates/pretalx_pages/form.html +++ b/pretalx_pages/templates/pretalx_pages/form.html @@ -1,6 +1,5 @@ {% extends "orga/base.html" %} {% load i18n %} -{% load bootstrap4 %} {% load static %} {% block extra_title %}{% trans "Page" %} :: {% endblock %} @@ -9,17 +8,17 @@

{% trans "Page" %}

{% csrf_token %} - {% bootstrap_form_errors form type='non_fields' %} -
- {% trans "General information" %} - {% bootstrap_field form.title layout="event" %} - {% bootstrap_field form.slug layout="event" %} - {% bootstrap_field form.link_in_footer layout="event" %} -
-
- {% trans "Page content" %} - {% bootstrap_field form.text layout="event" %} -
- {% include "orga/includes/submit_row.html" %} + {% include "common/forms/errors.html" with errors=form.non_field_errors %} +
+ {% trans "General information" %} + {{ form.title.as_field_group }} + {{ form.slug.as_field_group }} + {{ form.link_in_footer.as_field_group }} +
+
+ {% trans "Page content" %} + {{ form.text.as_field_group }} +
+ {% include "orga/includes/submit_row.html" %}
{% endblock %}