mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 19:15:41 +00:00
Merge pull request #875 from SchrodingersGat/tweaks
"Active" part toggle is always enabled
This commit is contained in:
@ -191,7 +191,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>{% trans "Active" %}</b></td>
|
<td><b>{% trans "Active" %}</b></td>
|
||||||
<td>{% include "slide.html" with state=part.active field='active' %}</td>
|
<td>{% include "slide.html" with state=part.active field='active' disabled=False %}</td>
|
||||||
{% if part.active %}
|
{% if part.active %}
|
||||||
<td>{% trans "Part is active" %}</td>
|
<td>{% trans "Part is active" %}</td>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Reference in New Issue
Block a user