diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index af6ad795..abe5e9c8 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -3,7 +3,7 @@

{{title}}

- {% if g.user and g.user.role and new_user %} + {% if g.user and g.user.role_admin() and new_user %}
@@ -21,7 +21,7 @@
- {% if g.user and g.user.role and not profile %} + {% if g.user and g.user.role_admin() and not profile %}
@@ -39,7 +39,7 @@
{% endif %} - {% if g.user and g.user.role and not profile and not new_user %} + {% if g.user and g.user.role_admin() and not profile and not new_user %}