{% extends "pretixcontrol/items/base.html" %} {% load i18n %} {% load bootstrap3 %} {% load escapejson %} {% load formset_tags %} {% block title %}{% blocktrans with name=question.question %}Question: {{ name }}{% endblocktrans %}{% endblock %} {% block inside %}
{% trans "Edit question" %}

{% blocktrans with name=question.question %}Question: {{ name }}{% endblocktrans %}

{% trans "Products" %}
{{ question.items.all|join:"
" }}
{% trans "Type" %}
{{ question.get_type_display }}
{% trans "Internal reference" %}
{{ question.identifier }}
{% trans "Answer required" %}
{% if question.required %}{% trans "Yes" %}{% else %}{% trans "No" %}{% endif %}
{% trans "Time of question" %}
{% if not question.ask_during_checkin %}{% trans "Ticket purchase" %}{% else %} {% trans "Check-in" %}{% endif %}
{% if not stats %}

{% blocktrans trimmed %} No matching answers found. {% endblocktrans %}

{% if not items %}

{% trans "You need to assign the question to a product to collect answers." %}

{% trans "Edit question" %} {% endif %}
{% else %}
{% for stat in stats %} {% endfor %}
{% trans "Answer" %} {% trans "Count" %}
{{ stat.answer }} {{ stat.count }}
{% endif %}

{% trans "Question history" %}

{% include "pretixcontrol/includes/logs.html" with obj=question %}
{% endblock %}