{% load patched_widget_tweaks %} {% load form_block %} {% load utils %} {% if not i %} {% item_form formset item as item_form %} {% else %} {% item_form formset i as item_form %} {% endif %} {% with styles=form_block.form.label_class.LabelStyle %} {% if form_block.items_sortable %} {% endif %} {% if not form_block.tabular %} {% endif %} {% if not form_block.fixed %} {% endif %} {% endwith %}