{% for prefix, children in forms.items %}

{{ prefix|title }}

{% if children.form %} {{ children.form.as_p }} {% endif %} {% if children.children %} {% include "semandjic/recursive_form.html" with forms=children.children only %} {% endif %}
{% endfor %}