From 1b3b27f1d945f1dd32438829bcc1e1ff7fe5b8b7 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Sat, 28 May 2022 02:52:41 -0500 Subject: [PATCH] Fix org user --- templates/organization/users-table.html | 4 ++-- templates/organization/users.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/organization/users-table.html b/templates/organization/users-table.html index 873e985..0f59bdc 100644 --- a/templates/organization/users-table.html +++ b/templates/organization/users-table.html @@ -1,13 +1,13 @@ {% extends "user/users-table.html" %} {% block before_point_head %} - {% if is_admin %} + {% if can_edit %} {% endif %} {% endblock %} {% block before_point %} - {% if is_admin %} + {% if can_edit %}
{% csrf_token %} diff --git a/templates/organization/users.html b/templates/organization/users.html index ab383a3..f681f15 100644 --- a/templates/organization/users.html +++ b/templates/organization/users.html @@ -17,7 +17,7 @@ } - {% if is_admin %} + {% if can_edit %}