{% load i18n %} {% load date_format %} {% comment %} Render the questiongroup as table. The labels of the keys are used as table headers, each questiongroup takes up one row of the table. Important: The questiongroup must have the view_option "with_keys": true set. Also, the questions should be rendered with view_option "template": "value_only". {% endcomment %} {% if config.label and config.layout == 'label' %}
{{ config.label }}
{% endif %} {% for width in config.column_widths %} {% endfor %} {% for questiongroup in questiongroups %} {% endfor %}
{{ keys.0 }} {% trans "From" %} {% trans "To" %} {{ keys.5 }}
{{ questiongroup.0|striptags }} {{ questiongroup.2|month_name:'F' }} {{ questiongroup.1 }} {{ questiongroup.4|month_name:'F' }} {{ questiongroup.3 }} {{ questiongroup.5 }}