[Admin] Render pagination and enabled filter test attributes

This commit is contained in:
Rafikooo 2024-07-23 15:07:36 +02:00
parent 1108ea9683
commit 4fa37cb0f0
No known key found for this signature in database
GPG key ID: 4A26D8327BC2442B
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
{% form_theme form '@SyliusAdmin/shared/form_theme.html.twig' %}
{{ form_row(form, {'label': filter.label}) }}
{{ form_row(form, sylius_test_form_attribute('criterion-enabled')|sylius_merge_recursive({'label': filter.label})) }}

View file

@ -7,11 +7,11 @@
{%- endblock pager_widget -%}
{%- block page_link -%}
<li class="page-item"><a class="page-link" href="{{- path -}}">{{- page -}}</a></li>
<li class="page-item"><a class="page-link" href="{{- path -}}" {{ sylius_test_html_attribute('page', page)}}>{{- page -}}</a></li>
{%- endblock page_link -%}
{%- block current_page_link -%}
<li class="page-item active" aria-current="page"><span class="page-link">{{- page -}}</span></li>
<li class="page-item active" aria-current="page"><span {{ sylius_test_html_attribute('current-page')}} class="page-link">{{- page -}}</span></li>
{%- endblock current_page_link -%}
{%- block previous_page_link -%}