{% for item in form.hidden_control_items_to_true.all %} {% if item.active == 1 %} {% if item.type == 5 %} {% endif %} {% endif %} {% endfor %} {% for item in form.control_items.all %} {% if item.active == 1 %} {% if item.type == 5 %} {% if item.value_class == 'BOOL' or item.value_class == 'BOOLEAN' %} {% if item.value %}
{% else %}
{% endif %} {% else %}
{{ item.label }} {% if item.unit %}{{ item.unit }}{% endif %}
{% endif %}

{% endif %} {% endif %} {% endfor %} {% for dropdown in form.dropdowns.all %} {% include "dropdown.html" with dropdown=dropdown form=form %} {% endfor %}