{% if non_grouped_actions or grouped_actions %} {{ actions.iommi_open_tag }} {% for category, category_id, actions_in_group in grouped_actions %}
{% endfor %} {% for action in non_grouped_actions %} {{ action }} {% endfor %} {{ actions.iommi_close_tag }} {% endif %}