From 3ad24292932e0fcb4c350a7ad207b6a8ab3726fb Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 20 Nov 2023 09:29:17 +0100 Subject: [PATCH] Event meta properties: Reorder edit form --- .../organizers/property_edit.html | 145 ++++++++++-------- 1 file changed, 80 insertions(+), 65 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/organizers/property_edit.html b/src/pretix/control/templates/pretixcontrol/organizers/property_edit.html index cf946a973..b697a8e8e 100644 --- a/src/pretix/control/templates/pretixcontrol/organizers/property_edit.html +++ b/src/pretix/control/templates/pretixcontrol/organizers/property_edit.html @@ -10,78 +10,93 @@ {% endif %}
{% csrf_token %} - {% bootstrap_form form layout="control" %} - -
- -
-

{% trans "If you keep this empty, all input will be allowed." %}

-
- {{ formset.management_form }} - {% bootstrap_formset_errors formset %} - +
+ {% for form in formset %} + {% bootstrap_form_errors form %} +
+
+ {{ form.id }} + {% bootstrap_field form.DELETE form_group_class="" layout="inline" %} + {% bootstrap_field form.ORDER form_group_class="" layout="inline" %} +
+
+ {% bootstrap_field form.key layout='inline' form_group_class="" %} +
+
+ {% bootstrap_field form.label layout='inline' form_group_class="" %} +
+
+ + + +
+ {% endfor %} +
+
+
+
- {% endescapescript %} - -
- {% for form in formset %} - {% bootstrap_form_errors form %} -
-
- {{ form.id }} - {% bootstrap_field form.DELETE form_group_class="" layout="inline" %} - {% bootstrap_field form.ORDER form_group_class="" layout="inline" %} -
-
- {% bootstrap_field form.key layout='inline' form_group_class="" %} -
-
- {% bootstrap_field form.label layout='inline' form_group_class="" %} -
-
- - - -
-
- {% endfor %} -
-
-
-
-
+