mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
[Admin] Render pagination and enabled filter test attributes
This commit is contained in:
parent
1108ea9683
commit
4fa37cb0f0
2 changed files with 3 additions and 3 deletions
|
|
@ -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})) }}
|
||||
|
|
|
|||
|
|
@ -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 -%}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue