Add pager to browse page.

This commit is contained in:
Edward Betts 2019-09-29 20:19:40 +01:00
parent 146b79bde8
commit c2727e6fc8
5 changed files with 95 additions and 11 deletions

View file

@ -1,3 +1,4 @@
{% from "macro.html" import render_pagination %}
{% extends "base.html" %}
{% block title %}{{ label }}{% endblock %}
@ -51,11 +52,7 @@
{% endfor %}
</div>
{#
{% for item in items %}
<pre>{{ item | pprint }}</pre>
{% endfor %}
#}
{{ render_pagination(pager) }}
</div>
{% endblock %}