Skip to content

Commit 58aec19

Browse files
authored
docs: cutom filter fix typos (#233)
2 parents 6db31ff + 394d33c commit 58aec19

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/grid/custom_filter.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SuppliersStatisticsFilter implements ConfigurableFilterInterface
4848

4949
And the form type:
5050

51-
{% code title="src/Grid/Filter/SuppliersStatisticsFilter.php" lineNumbers="true" %}
51+
{% code title="src/Grid/Filter/SuppliersStatisticsFilterType.php" lineNumbers="true" %}
5252
```php
5353
<?php
5454

@@ -86,8 +86,7 @@ class SuppliersStatisticsFilterType extends AbstractType
8686
Create a template for the filter, similar to the existing ones:
8787

8888
{% code title="templates/Grid/Filter/suppliers_statistics.html.twig" lineNumbers="true" %}
89-
```html
90-
#
89+
```twig
9190
{% form_theme form '@SyliusUi/Form/theme.html.twig' %}
9291
9392
{{ form_row(form) }}
@@ -130,7 +129,7 @@ sylius_grid:
130129
{% endcode %}
131130
{% endtab %}
132131
133-
{% tab title="YAML" %}
132+
{% tab title="PHP" %}
134133
{% code title="config/packages/sylius_grid.php" lineNumbers="true" %}
135134
```php
136135
<?php

0 commit comments

Comments
 (0)