From 32fd9f2f4d3d840902b8a0efb85a5558f4a7524b Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Mon, 25 Nov 2024 21:53:16 +0100 Subject: [PATCH] Distinguish between addon product address forms in pretixcontrol --- .../pretixcontrol/order/change_questions.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/order/change_questions.html b/src/pretix/control/templates/pretixcontrol/order/change_questions.html index 02b4c7fc0..df298d912 100644 --- a/src/pretix/control/templates/pretixcontrol/order/change_questions.html +++ b/src/pretix/control/templates/pretixcontrol/order/change_questions.html @@ -46,11 +46,13 @@
{% for form in forms %} - {% if form.pos.item != pos.item %} - {# Add-Ons #} - + {{ form.pos.item }} - {% endif %} - {% bootstrap_form form layout="control" %} +
+ {% if form.pos.item != pos.item %} + {# Add-Ons #} + + {{ form.pos.item }} + {% endif %} + {% bootstrap_form form layout="control" %} +
{% endfor %}