{% for questiongroup in questiongroups %}

{{ questiongroup.0 }}

{% for question in questiongroup %} {% if forloop.first %} {% elif forloop.counter == 2 %}
{{ question }}
{% elif forloop.counter == 3 %}
{{ question }} {% elif forloop.counter == 4 %} {{ question }}
{% else %} {{ question }} {% endif %} {% if forloop.counter == 4 %}
{% endif %} {% endfor %}
{% endfor %}