pull/4248/head
Bertrand Bordage 2018-02-07 13:19:47 +01:00
rodzic b30c722728
commit 3abdb7f313
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -114,8 +114,7 @@
{% if submissions %}
<form action="{% url 'wagtailforms:delete_submissions' form_page.id %}" method="get">
{% include "wagtailforms/list_submissions.html" %}
{% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj is_searching=False linkurl='-' %}
{# Here we pass an invalid non-empty URL name as linkurl to generate pagination links with the URL path omitted #}
{% include "wagtailadmin/shared/pagination_nav.html" with items=page_obj is_searching=False %}
</form>
{% else %}
<p class="no-results-message">{% blocktrans with title=form_page.title %}There have been no submissions of the '{{ title }}' form.{% endblocktrans %}</p>