{% for action in actions %} {% if action.template is not empty %} {% include action.template with { action: action }%} {% endif %} {% endfor %}