{% comment %} Three columns, a question in each. {% endcomment %} {% for questiongroup in questiongroups %}
{% if config.label and config.label_position != 'none' %}
{{ config.label }}
{% endif %} {% for question in questiongroup %}
{{ question }}
{% if forloop.counter|add:"1"|divisibleby:3 and forloop.last %}
{% endif %} {% if forloop.counter|divisibleby:3 and not forloop.last %}
{% endif %} {% endfor %}
{% endfor %}