{% 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 %}

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

{% trans "Filter" %}

{% if request.event.has_subevents %}
{% include "pretixcontrol/event/fragment_subevent_choice_simple.html" %}
{% 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" %} {% trans "Percentage" %}
{{ stat.answer }} {{ stat.count }} {{ stat.percentage|floatformat:1 }} %
{% trans "Sum" %} {{ total }}
{% endif %}

{% trans "Question history" %}

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