{% set paginationLimits = (limits) %}

<div class="listing-show">
    <label>{{ 'sylius.ui.show'|trans }} :</label>
    <ul>
        {% for limit in paginationLimits %}
            {% set path = path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')|merge(app.request.query.all)|merge({'limit': limit})) %}
            <li><a href="{{ path }}">{{ limit }}</a></li>
        {% endfor %}
    </ul>
</div>
