{% comment %} Table where each questiongroup occupies one row. The first column is filled with the label of the questiongroup. Further questions are rendered either before the table (questiongroup_config.layout == 'before_table') or after the table. {% endcomment %} {% if label_position != 'none' %}
{% for header in table_headers %} {% if not forloop.last %} | {{ header }} | {% endif %} {% endfor %}|||||
---|---|---|---|---|---|---|
{{ questiongroup.label }} | {% endif %} {% for k, values in qg %}{% for v in values %} {{ v }} {% endfor %} | {% endfor %}|||||
{{ qg.0.0 }} | {% for k, values in qg %}{% for v in values %} {{ v }} {% endfor %} | {% endfor %} |