{% extends "pretixpresale/event/checkout_base.html" %} {% load i18n %} {% load bootstrap3 %} {% load rich_text %} {% load lists %} {% load escapejson %} {% block inner %}

{% trans "Before we continue, we need you to answer some questions." %}

{% if profiles_data %} {{ profiles_data|json_script:"profiles_json" }} {% endif %}
{% csrf_token %}

{% trans "Contact information" %}

{% bootstrap_form contact_form layout="checkout" %} {% if not invoice_address_asked and event.settings.invoice_name_required %} {% bootstrap_form invoice_form layout="checkout" %} {% endif %}
{% if invoice_address_asked %}

{% trans "Invoice information" %}{% if not event.settings.invoice_address_required and not event.settings.invoice_name_required %} {% trans "(optional)" %} {% endif %}

{% if addresses_data %} {{ addresses_data|json_script:"addresses_json" }} {% endif %}
{% if addresses_data %}

{% endif %} {% if event.settings.invoice_address_explanation_text %}
{{ event.settings.invoice_address_explanation_text|rich_text }}
{% endif %} {% bootstrap_form invoice_form layout="checkout" %}
{% endif %} {% for pos, forms in formgroups %}

{{ pos.item.name }} {% if pos.variation %} – {{ pos.variation }} {% endif %} {% if forloop.counter > 1 %} {% if event.settings.checkout_show_copy_answers_button %} {% endif %} {% endif %}

{% if event.settings.attendee_data_explanation_text and pos.item.ask_attendee_data %} {{ event.settings.attendee_data_explanation_text|rich_text }} {% endif %} {% if pos.seat %}
{{ pos.seat }}
{% endif %} {% if pos.addons_without_bundled %}
    {% regroup pos.addons_without_bundled by item_and_variation as addons_by_itemvar %} {% for group in addons_by_itemvar %}
  • {% if group.list|length > 1 %}{{ group.list|length }}× {% endif %}{{ group.grouper.0.name }}{% if group.grouper.1 %} – {{ group.grouper.1.value }}{% endif %}
  • {% endfor %}
{% endif %} {% if pos.subevent %}
    {{ pos.subevent.name }} · {{ pos.subevent.get_date_range_display_with_times_as_html }}
{% endif %} {% for form in forms %} {% if form.pos.item != pos.item %} {# Add-Ons #} {% if form.show_copy_answers_to_addon_button and event.settings.checkout_show_copy_answers_button %} {% endif %} + {{ form.pos.item.name }}{% if form.pos.variation %} – {{ form.pos.variation.value }}{% endif %} {% endif %}
{% if profiles_data %}

{% endif %} {% bootstrap_form form layout="checkout" %}
{% endfor %}
{% endfor %}
{% endblock %}