{% macro renderChildren(children) %} {% if children|length > 0 %} {% endif %} {% endmacro %} {# Affichage principal #} {% import _self as macros %}
{{ macros.renderChildren(value) }}