{% set paginator = getPaginator(namespace) %} {% if paginator.last_page != -1 %} {% set show_next_button = (paginator.current_page < paginator.last_page) ? '' : 'invisible' %} {% endif %} {% set show_prev_button = (paginator.current_page == 1) ? 'invisible' : '' %}
{{ paginator.current_page }}