{% load static %} {% for group in groups %} {% if group.actions.all %}
{{ group.name }}
{% endif %} {% endfor %}