Renamed role table into groups, and debug
[cavote.git] / templates / admin_users.html
index d45f800..3c39bf0 100644 (file)
@@ -21,7 +21,7 @@
     <tr>
       <td>{{ user.email }}</td>
       <td>{{ user.username }}</td>
-      <td>{% for role in user.roles %}<span class="label">{{ role }}</span> {% endfor %}</td>
+      <td>{% for group in user.groups %}<span class="label">{{ group }}</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>