{% if paginator.numPages > 1 %}
{% endif %} {# Depends on this little bit of javascript being included somewhere: $(function() { $('.paginator-select-page').on('change', function() { document.location = $(this).val(); }); // Workaround to prevent iOS from zooming the page when clicking the select list: $('.paginator-select-page') .on('focus', function() { if (/(iPad|iPhone|iPod)/g.test(navigator.userAgent)) { $(this).css('font-size', '16px'); } }) .on('blur', function() { if (/(iPad|iPhone|iPod)/g.test(navigator.userAgent)) { $(this).css('font-size', ''); } }) ; }); #}