{% load i18n %} {% for component in group.components.all %} {{ component }} {% empty %} {% trans "All components" %} {% endfor %}