</tr>
</thead>
<tbody>
- {% for user in users %}
+ {% for user in users.values() %}
<tr>
<td>{{ user.email }}</td>
<td>{{ user.username }}</td>
- <td>{{ user.rolename }}</td>
+ <td>{% for role in user.roles %}<span class="label">{{ role }}</span> {% endfor %}</td>
<td>{% if user.is_admin %}<span class="label label-success">Oui</span>{% else %}<span class="label">Non</span>{% endif %}</td>
<td>
<a href="" class="btn btn-mini">Éditer</a>