{% spaceless %}{% load i18n static rijkshuisstijl %}
{# Render inline form #} {% if formset %}
{% csrf_token %} {{ formset.management_form }}
{% endif %}
{% if title %}

{{ title }}

{% endif %} {% if show_toggle %} {% trans 'Alles uitklappen' %} {% endif %}
{% for object in object_list %} {% firstof forloop.counter0|capfirst as index %} {% firstof id|add:'-summary-'|add:index as summary_id %} {% if formset %} {% for formset_form in formset.forms %} {% if formset_form.instance == object %} {% firstof 'summary-list-inline-form-'|add:id as form_id %} {% summary config=config forloop_counter=forloop.counter formset=formset formset_form=formset_form form_id=form_id id=summary_id object=object help_text_position=help_text_position %} {% endif %} {% endfor %} {% else %} {% summary config=config id=summary_id object=object help_text_position=help_text_position %} {% endif %} {% firstof '' as summary_id %} {% endfor %}
{% endspaceless %}