{% load form_block %} {% for name, field in block_fields.items %}
{% with wlabels=labels|get_by_choice:name %} {% if wlabels %} {% with label=wlabels|closest_label %} {{ label.display_inline }}: {% endwith %} {% else %} {% with label=labels|closest_label %} {{ label.display_inline }}: {% endwith %} {% endif %} {% endwith %}
{{ field.value }}
{% endfor %}