Skip to content

Commit bc9b634

Browse files
Chris OgbuehiChris Ogbuehi
authored andcommitted
fix loop ids
1 parent 22118f6 commit bc9b634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

permafrost/templates/permafrost/permafrostrole_form.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ <h6 class="m-0 text-primary font-weight-bold">
132132
<div class="col-6">
133133
{% for permission in category.optional %}
134134
<div class="d-flex align-items-center">
135-
<label for="permission">{{ permission.name }}</label>
135+
<label for="{{ permission.id }}">{{ permission.name }}</label>
136136

137137
{% if permission.short_description %}
138138
<i class="ml-2 fas fa-info-circle text-gray-600" aria-label="{% trans 'Info' %}"></i>
@@ -142,7 +142,7 @@ <h6 class="m-0 text-primary font-weight-bold">
142142
type="checkbox"
143143
name="{{ form.permissions.name }}"
144144
value="{{ permission.id }}"
145-
id="permission"
145+
id="{{ permission.id }}"
146146
{% if permission.selected %} checked{% endif %}
147147
>
148148
</div>

0 commit comments

Comments
 (0)