From 234922f8552327c65c82220d2cc5bd2ac2ee997b Mon Sep 17 00:00:00 2001 From: Julian Rother <julian@cccv.de> Date: Sat, 4 Sep 2021 14:26:57 +0200 Subject: [PATCH] Fix HTML element id construction in role view --- uffd/role/templates/role/show.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uffd/role/templates/role/show.html b/uffd/role/templates/role/show.html index e468bbda..971d7878 100644 --- a/uffd/role/templates/role/show.html +++ b/uffd/role/templates/role/show.html @@ -90,7 +90,7 @@ </thead> <tbody> {% for r in roles|sort(attribute="name")|sort(attribute='name') %} - <tr id="include-role-{{ role.id }}"> + <tr id="include-role-{{ r.id }}"> <td> <div class="form-check"> <input class="form-check-input" type="checkbox" id="include-role-{{ r.id }}-checkbox" name="include-role-{{ r.id }}" value="1" aria-label="enabled" -- GitLab