diff --git a/kobo/hub/templates/user/detail.html b/kobo/hub/templates/user/detail.html
index 9ef4def8..b262e928 100644
--- a/kobo/hub/templates/user/detail.html
+++ b/kobo/hub/templates/user/detail.html
@@ -17,15 +17,15 @@
{% trans 'Details' %}
{% trans "Admin" %} |
- {% if user.is_superuser %}YES{% else %}NO{% endif %} |
+ {% if usr.is_superuser %}YES{% else %}NO{% endif %} |
{% trans "Staff" %} |
- {% if user.is_staff %}YES{% else %}NO{% endif %} |
+ {% if usr.is_staff %}YES{% else %}NO{% endif %} |
{% trans "Active" %} |
- {% if user.is_active %}YES{% else %}NO{% endif %} |
+ {% if usr.is_active %}YES{% else %}NO{% endif %} |
{% trans "Tasks" %} |