{% if record_list.pages > 1 %}
  • Previous
  • {% for i in range(min_page, max_page) %}
  • {{ i }}
  • {% endfor %}
  • Next
  • {% endif %}