8 lines
216 B
8 lines
216 B
2 years ago
|
{% macro pagination(sorted_watches, total_per_page, current_page) %}
|
||
|
{{ sorted_watches|length }}
|
||
|
|
||
|
{% for row in sorted_watches|batch(total_per_page, ' ') %}
|
||
|
{{ loop.index}}
|
||
|
{% endfor %}
|
||
|
{% endmacro %}
|