{% load form_block %} {% block_formset formsets form_block as formset %} {% with styles=form_block.form.label_class.LabelStyle %} {% with label=labels|get_by_style:styles.VERTICAL %} {% if label %}
{% endif %} {% for field in form_block.collection_fields_as_blocks %} |
{{ formset.errors|get_by_field:field.name }}
|
{% empty %}
{% endfor %} {% if form_block.has_file %} | {% if error or form_block.file_optional %} | {% endif %} {% endif %} {% if not form_block.fixed %} | {% endif %} |