{% if scopes|length %}

{% for scope in scopes %}
{{scope.name}} {% if new_scopes and scope.slug in new_scopes %} New {% endif %}
{% if disabled %} {% elif selected_scopes and scope.slug in selected_scopes %} {% elif selected_scopes %} {% else %} {% endif %}
{% endfor %}
{% endif %}