{% comment %} This subcategory assumes that the first questiongroup contains a checkbox question where each conditionally opens a new questiongroup. The questiongroups not appearing part of the conditions are rendered normally. This template assumes that there is one condition less than checkboxes in the first question. {% endcomment %} {% load floppyforms %} {% load list_to_columns %} {% if config.next_level == 'subcategories' %}
{{ config.label }}
{% for sub_config, sub_formsets in formsets %} {% form form using sub_config.form_template with config=sub_config formsets=sub_formsets %} {% endfor %} {% else %} {% endif %}