Skip to content
Snippets Groups Projects
Commit a40d4260 authored by Julian's avatar Julian
Browse files

Fixed included role checkboxes on role.show if role is locked, closes #68

parent b99ec7b2
No related branches found
No related tags found
No related merge requests found
......@@ -94,8 +94,8 @@
<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"
{% if r == role or role.locked %}disabled{% endif %}
{% if r in role.included_roles %}checked{% endif %}>
{% if r == role or role.locked %} disabled{% endif %}
{% if r in role.included_roles %} checked{% endif %}>
</div>
</td>
<td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment