aboutsummaryrefslogtreecommitdiff
path: root/app/templates/users
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-24 19:37:33 +0000
committerrubenwardy <rw@rubenwardy.com>2018-03-24 19:37:33 +0000
commit69efdd7fdeca8f278da4c511d4b3aef4cdab1129 (patch)
treed90629d1c291bf299fc2658f3d8cb7375d0a6e9e /app/templates/users
parentf51224a8d5b2204798611465c77308c90839730b (diff)
downloadcheatdb-69efdd7fdeca8f278da4c511d4b3aef4cdab1129.tar.xz
Add user rank changing
Fixes #14
Diffstat (limited to 'app/templates/users')
-rw-r--r--app/templates/users/user_profile_page.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/templates/users/user_profile_page.html b/app/templates/users/user_profile_page.html
index faa6e0c..91a3b54 100644
--- a/app/templates/users/user_profile_page.html
+++ b/app/templates/users/user_profile_page.html
@@ -87,6 +87,10 @@
{{ render_field(form.display_name, tabindex=240) }}
+ {% if user.checkPerm(current_user, "CHANGE_RANK") %}
+ {{ render_field(form.rank, tabindex=240) }}
+ {% endif %}
+
{{ render_submit_field(form.submit, tabindex=280) }}
</div>
</div>