2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Add 'slide' for part type

This commit is contained in:
Oliver Walters
2019-06-18 18:49:52 +10:00
parent b1c1015778
commit 783b8964d1
2 changed files with 17 additions and 15 deletions

View File

@ -0,0 +1,8 @@
<div>
<input type="checkbox" data-toggle="toggle" data-on="" data-off="" {% if state %}checked="checked"{% endif %}>
{% if state %}
<span class='glyphicon glyphicon-small glyphicon-ok'></span>
{% else %}
<span class='glyphicon glyphicon-small glyphicon-remove'></span>
{% endif %}
</div>