{#{% extends "base.html.twig" %}#} {#{% block content %}#} {#


#} {# #} {# {{ dump(rollups) }}#}
{% for id, question in rollups|slice(0, max) %}
{# {{ dump(question) }}#}

{{ question.metadata.text }}

{% if question.metadata.display_type is defined and question.metadata.display_type == 'numerical' %}

v průměru: {{ question.summary_data[0].mean|round(2) }} Kč

{% else %} {% for n, row in question.rows %}

{{ row.text }}

{{ question.summary_data[n].total }} / {{ question.summary_data[n].percentage.total|round(2) }} %

{% endfor %} {% endif %}
{% endfor %}
{% if mode == "carousel" %}
{% for id, question in rollups|slice(0, max) %}
{% endfor %}
{% endif %} {#{% endblock %}#}