diff --git a/templates/admin/user/index.html.tera b/templates/admin/user/index.html.tera
index b2a8f9b..ec76c48 100644
--- a/templates/admin/user/index.html.tera
+++ b/templates/admin/user/index.html.tera
@@ -59,9 +59,9 @@
{% if user.last_access %}• ⏳ {{ user.last_access | date }}{% endif %}
- {% for role in user.roles %}
+ {% for role in user.roles -%}
{{ role }}
- {% if not loop.last %},{% endif %}
+ {%- if not loop.last %}, {% endif -%}
{% endfor %}