{# admin/patients/_per_page.twig #}
<div class="per-page">
    <strong>Patients per page:</strong>
    {% for n in [20,40,60,80,100,250] %}
        {% if n == perPage %}
            <span class="selected">{{ n }}</span>
        {% else %}
            <a href="#" data-per-page="{{ n }}">{{ n }}</a>
        {% endif %}
        {% if not loop.last %} | {% endif %}
    {% endfor %}
</div>
