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

{% trans "For some of the products in your cart, you can choose additional options before you continue." %}

{% csrf_token %}
{% for form in forms %}

{{ form.item.name }}{% if form.variation %} – {{ form.variation }} {% endif %}

{% if form.cartpos.subevent %}

{{ form.cartpos.subevent.name }} · {{ form.cartpos.subevent.get_date_range_display }} {% if form.cartpos.event.settings.show_times %} {{ form.cartpos.subevent.date_from|date:"TIME_FORMAT" }} {% endif %}

{% endif %} {% for c in form.categories %}
{{ c.category.name }} {% if c.category.description %} {{ c.category.description|rich_text }} {% endif %}

{% if c.min_count == c.max_count %} {% blocktrans trimmed count min_count=c.min_count %} You need to choose exactly one option from this category. {% plural %} You need to choose {{ min_count }} options from this category. {% endblocktrans %} {% elif c.min_count == 0 and c.max_count >= c.form.fields|length %} {% else %} {% blocktrans trimmed with min_count=c.min_count max_count=c.max_count %} You can choose between {{ min_count }} and {{ max_count }} options from this category. {% endblocktrans %} {% endif %}

{% bootstrap_form c.form layout="horizontal" %}
{% empty %} {% trans "There are no add-ons available for this product." %} {% endfor %}
{% endfor %}
{% endblock %}