|
@@ -21,7 +21,7 @@ file that was distributed with this source code.
|
|
|
|
|
|
{% block max_per_page %}
|
|
|
<label class="control-label" for="{{ admin.uniqid }}_per_page">{% trans from 'SonataAdminBundle' %}label_per_page{% endtrans %}</label>
|
|
|
- <select class="per-page small {% if admin_pool is defined and not admin_pool.getOption('use_select2') %}form-control{% endif %}" id="{{ admin.uniqid }}_per_page" style="width: auto">
|
|
|
+ <select class="per-page small form-control" id="{{ admin.uniqid }}_per_page" style="width: auto">
|
|
|
{% for per_page in admin.getperpageoptions %}
|
|
|
<option {% if per_page == admin.datagrid.pager.maxperpage %}selected="selected"{% endif %} value="{{ admin.generateUrl('list', {'filter': admin.datagrid.values | merge({'_page': 1, '_per_page': per_page})}) }}">
|
|
|
{{ per_page }}
|