aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-25 13:19:26 -0500
committerFrederick Muriuki Muriithi2024-06-25 13:19:26 -0500
commit4883578edd005b203fe67fbea030fcc2ed878923 (patch)
tree958531706d8782dd1cefe1385e0a91798f8a5509 /gn2/wqflask/templates
parentdd7268bc0c2d841779ba488b13ca0b1f0e9ea6bc (diff)
downloadgenenetwork2-4883578edd005b203fe67fbea030fcc2ed878923.tar.gz
Remove flawed "group role" idea: use just "role".
Diffstat (limited to 'gn2/wqflask/templates')
-rw-r--r--gn2/wqflask/templates/oauth2/view-resource.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/gn2/wqflask/templates/oauth2/view-resource.html b/gn2/wqflask/templates/oauth2/view-resource.html
index cfc769c4..0788e30c 100644
--- a/gn2/wqflask/templates/oauth2/view-resource.html
+++ b/gn2/wqflask/templates/oauth2/view-resource.html
@@ -278,14 +278,14 @@
<th>Role</th>
<th>Action</th>
</tr>
- {%for grole in user_row.roles%}
+ {%for role in user_row.roles%}
<tr>
<td>
<a href="{{url_for(
'oauth2.role.role',
- role_id=grole.role_id)}}"
- title="Details for '{{grole.role_name}}' role">
- {{grole.role_name}}
+ role_id=role.role_id)}}"
+ title="Details for '{{role.role_name}}' role">
+ {{role.role_name}}
</a>
</td>
<td>
@@ -294,8 +294,8 @@
method="POST">
<input type="hidden" name="user_id"
value="{{user_row.user.user_id}}" />
- <input type="hidden" name="group_role_id"
- value="{{grole.group_role_id}}">
+ <input type="hidden" name="role_id"
+ value="{{role.role_id}}">
<input type="submit"
value="Unassign"
class="btn btn-danger"