From 41780add401a5eda5f1e36300349a66a9b2de5eb Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Thu, 30 Oct 2025 18:03:47 +0100 Subject: [PATCH] Gift cards: Remove nested form tags --- .../pretixcontrol/giftcards/checkout.html | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/giftcards/checkout.html b/src/pretix/control/templates/pretixcontrol/giftcards/checkout.html index 23403ac1e6..563101df05 100644 --- a/src/pretix/control/templates/pretixcontrol/giftcards/checkout.html +++ b/src/pretix/control/templates/pretixcontrol/giftcards/checkout.html @@ -9,27 +9,25 @@ {% trans "Information" %} {% trans "The following gift cards are available in your customer account:" %}

-
- {% csrf_token %} - -
+ {% csrf_token %} + {% endif %} {% bootstrap_form form layout='checkout' %}