diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index 142adfb2..4775af1a 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -2,21 +2,21 @@ {% block body %}

{{title}}

-
+ {% if g.user and g.user.role_admin() and new_user %}
- +
{% endif %}
- +
{% if g.user and g.user.role_passwd() or g.user.role_admin()%}
- +
{% endif %}