InvenTree/InvenTree/templates/slide.html
2020-10-06 16:46:13 +11:00

3 lines
282 B
HTML

<div>
<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>