diff --git a/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html b/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html index 1ab85666fb..f9678128b7 100644 --- a/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html +++ b/wagtail/contrib/forms/templates/wagtailforms/index_submissions.html @@ -114,8 +114,7 @@ {% if submissions %}
{% 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 %}
{% else %}

{% blocktrans with title=form_page.title %}There have been no submissions of the '{{ title }}' form.{% endblocktrans %}