{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% block title %}{% trans "Questions" %}{% endblock %} {% block inside %}

{% trans "Questions" %}

{% blocktrans trimmed %} Questions allow your attendees to fill in additional data about their ticket. If you provide food, one example might be to ask your users about dietary requirements. {% endblocktrans %}

{% csrf_token %} {% if request.event.settings.feature_flag_order_level_questions %} {% if 'event.items:write' in request.eventpermset %}

{% trans "Create a new per-ticket question" %} {% trans "Create a new order-level question" %}

{% endif %}

{% trans "Per-ticket questions" %}

{% trans "These questions are asked for every ticket, so possibly multiple times in the same order." %}

{% else %} {% if 'event.items:write' in request.eventpermset %}

{% trans "Create a new question" %}

{% endif %} {% endif %}
{% if 'event.items:write' in request.eventpermset %} {% endif %} {% for q in questions %}{% if q.container_type == "P" %} {% if 'event.items:write' in request.eventpermset %} {% endif %} {% endif %}{% endfor %}
{% trans "Question" %} {% trans "Type" %} {% trans "Products" %}
{% if q.pk %} {% endif %} {{ q.question }} {% if q.pk %} {% endif %}
{{ q.identifier }}
{% if q.pk %} {{ q.get_type_display }} {% else %} {% trans "System question" %} {% endif %} {% if q.required %} {% endif %} {% if q.pk and q.ask_during_checkin %} {% endif %} {% if q.pk and q.hidden %} {% endif %} {% if q.pk %}
    {% for item in q.items.all %}
  • {{ item }}
  • {% endfor %}
{% else %} {% trans "All personalized products" %} {% endif %}
{% if q.pk %} {% if 'event.items:write' in request.eventpermset %} {% endif %} {% else %} {% if 'event.settings.general:write' in request.eventpermset %} {% endif %} {% endif %}
{% if request.event.settings.feature_flag_order_level_questions %}

{% trans "Per-order questions" %} {% trans "Experimental feature" %}

{% trans "These questions are asked once per order." %}

{% if 'event.items:write' in request.eventpermset %} {% endif %} {% for q in questions %}{% if q.container_type == "O" %} {% if 'event.items:write' in request.eventpermset %} {% endif %} {% endif %}{% endfor %}
{% trans "Question" %} {% trans "Type" %}
{{ q.question }}
{{ q.identifier }}
{% if q.pk %} {{ q.get_type_display }} {% else %} {% trans "System question" %} {% endif %} {% if q.required %} {% endif %} {% if q.pk and q.ask_during_checkin %} {% endif %} {% if q.pk and q.hidden %} {% endif %} {% if q.pk %} {% if 'event.items:write' in request.eventpermset %} {% endif %} {% else %} {% if 'event.settings.general:write' in request.eventpermset %} {% endif %} {% endif %}
{% endif %} {% endblock %}