{% extends "wagtailadmin/base.html" %} {% load i18n %} {% load static %} {% load wagtailadmin_tags %} {% block titletag %}{% trans "Block Inventory" %}{% endblock %} {% block extra_css %} {% endblock %} {% block extra_js %} {{ block.super }} {% endblock %} {% block content %} {% trans "Block Inventory" as header_str %} {% include "wagtailadmin/shared/header.html" with title=header_str icon="placeholder" %}
{{ formset.management_form }} {% for form in formset %}
{% include "wagtailadmin/shared/field.html" with field=form.has show_label=False field_classes="select-has" %} {% include "wagtailadmin/shared/field.html" with field=form.block show_label=False field_classes="select-block" %}
{% endfor %}
{% if pages %}

{% blocktrans count counter=pages.paginator.count %} There is one match {% plural %} There are {{ counter }} matches {% endblocktrans %}

{% include "wagtailinventory/_list_explore_inventory.html" with show_parent=1 show_bulk_actions=1 %} {% include "wagtailadmin/shared/pagination_nav.html" with items=pages %} {% trans "Select all pages in listing" as select_all_text %} {% include 'wagtailadmin/bulk_actions/footer.html' with select_all_obj_text=select_all_text app_label='wagtailcore' model_name='page' objects=pages %}
{% else %}

{% blocktrans %}Sorry, there are no matching pages.{% endblocktrans %}

{% endif %}
{% endblock %}