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