{% comment %} This renders a question with image checkboxes where for each checkbox (4 columns), an additional questiongroup is rendered next to it (8 columns). The additional questiongroup corresponds to the list position of the image checkbox list. {% endcomment %} {% load static %} {% load floppyforms %} {% load list_to_columns %} {% for group_name, choices in optgroups %} {% for choice in choices %}
{% conditional_questiongroups additional_qg questiongroup_conditions choice.0 as cond_qg_list %} {% for cond_qg in cond_qg_list %} {% with value=None %} {% form form using cond_qg.0.template with config=cond_qg.0 formset=cond_qg.1 %} {% endwith %} {% endfor %}
{% endfor %} {% endfor %}