{% set cases = node.cases %} {% if cases is not empty %}

Cases

{% for case in cases %} {% include 'components/enum-case.html.twig' %} {% endfor %}
{% endif %}