{% load i18n wagtailadmin_tags %} {{ formset.management_form }} {% trans "Promoted search results" as heading %} {% panel id="promoted-search-results" heading=heading heading_size="label" classname="w-panel--nested" %}
{% for form in formset.forms %} {% include "wagtailsearchpromotions/includes/searchpromotion_form.html" with form=form only %} {% endfor %}
{# Align with guiding line of the preceding child panel. #}
{% endpanel %}