{% load i18n %} {% comment %} Variables accepted by this template: title subtitle search_url - if present, display a search box. This is a URL route name (taking no parameters) to be used as the action for that search box query_parameters - a query string (without the '?') to be placed after the search URL icon - name of an icon to place against the title tabbed - if true, add the classname 'tab-merged' merged - if true, add the classname 'merged' add_link - if present, display an 'add' button. This is a URL route name (taking no parameters) to be used as the link URL for the button add_text - text for the 'add' button {% endcomment %}
{% block breadcrumb %}{% endblock %}

{{ title }}{% if subtitle %} {{ subtitle }}{% endif %}

{% if search_url %}
    {% for field in search_form %} {% include "wagtailadmin/shared/field_as_li.html" with field=field field_classes="field-small iconfield" input_classes="icon-search" %} {% endfor %}
{% endif %}
{% if add_link %} {% endif %}