From d55411fb8b8937a3ffd394a7673896998347a5b7 Mon Sep 17 00:00:00 2001 From: Mira Weller Date: Wed, 4 Dec 2024 14:35:45 +0100 Subject: [PATCH] Use
in checkout_customer --- .../event/checkout_customer.html | 178 ++++++++---------- 1 file changed, 81 insertions(+), 97 deletions(-) diff --git a/src/pretix/presale/templates/pretixpresale/event/checkout_customer.html b/src/pretix/presale/templates/pretixpresale/event/checkout_customer.html index 5398eb5885..99c38ddc24 100644 --- a/src/pretix/presale/templates/pretixpresale/event/checkout_customer.html +++ b/src/pretix/presale/templates/pretixpresale/event/checkout_customer.html @@ -8,134 +8,118 @@
{% csrf_token %}
-
-
+
+

+ id="input_customer_login" aria-controls="customer_login" />

-
-
{% if signup_allowed %} -
-
+
+

+ id="input_customer_register" aria-controls="customer_register" />

+
+
+ {% bootstrap_form register_form layout="checkout" %} +

+ {% blocktrans trimmed with org=request.organizer.name %} + We will send you an email with a link to activate your account and set a password, so + you can use the account for future orders at {{ org }}. You can still go ahead with this + purchase before you received the email. + {% endblocktrans %} +

- -
+ {% endif %} {% if guest_allowed %} -
-
+
+

+ id="input_customer_guest" aria-controls="customer_guest" />

+
+
+

+ {% blocktrans trimmed %} + You are not required to create an account. If you proceed as a guest, you will be able + to access the details and status of your order any time through the secret link we will + send you via email once the order is complete. + {% endblocktrans %} +

- -
+ {% endif %}