mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 08:16:14 +00:00
More template changes: perms -> roles
This commit is contained in:
1 parent
88f73443ee
commit
ab454e5ba4
9 files changed
+11
-11
No files matched your search
@@ -1,3 +1,3 @@
|
||||
<div>
|
||||
<input fieldname='{{ field }}' class='slidey' type="checkbox" data-offstyle='warning' data-onstyle="success" data-size='small' data-toggle="toggle" {% if disabled or not perms.part.change_part %}disabled {% endif %}{% if state %}checked=""{% endif %} autocomplete="off">
|
||||
<input fieldname='{{ field }}' class='slidey' type="checkbox" data-offstyle='warning' data-onstyle="success" data-size='small' data-toggle="toggle" {% if disabled or not roles.part.change %}disabled {% endif %}{% if state %}checked=""{% endif %} autocomplete="off">
|
||||
</div>
|
||||
Reference in new issue
Block a user