{% load common_filters %} {% if form.forms|type_name == "list" %} {% include "common/form/formset.html" with formset=form %} {% else %} {% include "common/form/fields.html" %} {% endif %}