InvenTree/InvenTree/templates/slide.html
2019-06-18 23:12:13 +10:00

3 lines
252 B
HTML

<div>
<input field='{{ field }}' class='slidey' type="checkbox" data-offstyle='warning' data-onstyle="success" data-size='small' data-toggle="toggle" {% if disabled %}disabled="disabled" {% endif %}{% if state %}checked="checked"{% endif %}>
</div>