1👍
✅
Since the roles
dictionary contains both the members (as keys) and forms (as values), why do you need to iterate through staff
at all? Just iterate through roles
.
{% for member, form in roles.items %}
{{ member }} : {{ form }}
{% endfor %}
Source:stackexchange.com