mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-16 03:03:14 +00:00
Applies again #3936.
This commit is contained in:
parent
b30c722728
commit
3abdb7f313
1 changed files with 1 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue