{% extends "base.html" %} {% import "bootstrap/wtf.html" as wtf %} {% block title %}{{ round.name }} {{ round.category }} {{ round.year }}. ročníku: Seznam účastníků{% if contest %} {{ contest.place.name_locative() }}{% endif %}{% endblock %} {# {% block breadcrumbs %} {{ contest_breadcrumbs(round=round, action="Seznam účastníků") }} {% endblock %} #} {% block body %} {{ table.to_html() }}

{% set max = filter.offset.data + filter.limit.data if filter.offset.data + filter.limit.data < count else count %} Zobrazeny záznamy {{filter.offset.data + 1}}{{ max }} z {{count}} účastníků.

Stránka {{ filter.offset.data // filter.limit.data + 1}} z {{ (count / filter.limit.data)|round(0, 'ceil')|int }}:
{% if filter.offset.data > 0 %} {{ wtf.form_field(filter.previous) }} {% else %} {% endif %} {% if count > filter.offset.data + filter.limit.data %} {{ wtf.form_field(filter.next) }} {% else %} {% endif %}
{% endblock %}