{% for group in self.groups %}
{% if group.scopes > 1 %}
{% endif %}
{% for role in group.roles %}
{% if self.groups|length > 1 %} {% endif %}
{% endfor %}
{% endfor %} {% if self.groups|length > 1 %}
{% endif %}