{% for button in buttons %} {% if button.icon %} {{ icon(button.icon) }} {% endif %} {{ button.label }} {% endfor %}