{% for group_name, group_data in groups.items %} {% include group_data.template_name|default:"common/form/layout_group.html" %} {% endfor %}