{% if menu != null %}
{% for child in menu.children %}
{% set childrenexist = 1 %}
{% endfor %}
{% endif %}
{% if childrenexist != 0 %}
{{widget.name}}
{% else %}
{{widget.name}}
{% endif %}
{% if menu != null %}
{% for child in menu.children %}
- {{child.name}}
{% endfor %}
{% endif %}