add disabled to table as well

This commit is contained in:
null
2024-03-07 19:51:57 +01:00
parent 86ea6d68bd
commit 312ad3d93d
+2 -1
View File
@@ -26,6 +26,7 @@
<th>Symbol</th> <th>Symbol</th>
<th>Condition</th> <th>Condition</th>
<th>Value</th> <th>Value</th>
<th>Disabled</th>
</tr> </tr>
{% else %} {% else %}
<tr> <tr>
@@ -37,7 +38,7 @@
{% for item in data.conditions %} {% for item in data.conditions %}
<tr onclick="onOpenDialog('/conditions/{{ item.id }}')"> <tr onclick="onOpenDialog('/conditions/{{ item.id }}')">
{% set order = ["id", "symbol", "condition", "value"] %} {% set order = ["id", "symbol", "condition", "value", "disabled"] %}
{% for key in order %} {% for key in order %}
<td>{{ item[key] }}</td> <td>{{ item[key] }}</td>
{% endfor %} {% endfor %}