kopia lustrzana https://github.com/wagtail/wagtail
Applies again #3936.
rodzic
b30c722728
commit
3abdb7f313
|
@ -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>
|
||||
|
|
Ładowanie…
Reference in New Issue