We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33fe989 + 6ef85a3 commit 5514b60Copy full SHA for 5514b60
form/create_custom_field_type.rst
@@ -405,7 +405,7 @@ libraries are used in your application:
405
406
{# templates/form/custom_types.html.twig #}
407
{% block postal_address_row %}
408
- {% for child in form.children if not child.rendered %}
+ {% for child in form.children|filter(child => not child.rendered) %}
409
<div class="form-group">
410
{{ form_label(child) }}
411
{{ form_widget(child) }}
0 commit comments