{%- from "macros/form.html" import m_field with context %} {%- for field in form %} {# form could also be a formfield instance #}