{% load i18n %} {% if current_page.has_previous or current_page.has_next %}
{% if current_page.has_previous %}{% trans "Previous" %}{% endif %}
{% if current_page.has_next %}{% trans "Next" %}{% endif %}
{% endif %}