From 3abdb7f31341380667d3640322c4b2370ce5e0ab Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Wed, 7 Feb 2018 13:19:47 +0100 Subject: [PATCH] Applies again #3936. --- .../forms/templates/wagtailforms/index_submissions.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 %}