{% for subwidget in widget.subwidgets %} {% if forloop.first %} {% include subwidget.template_name with widget=subwidget %} {% else %}
{{ code_label }}: {% include subwidget.template_name with widget=subwidget %}
{% endif %} {% endfor %}