{% if 'thermocouple_type' in dict_options['options_enabled'] %} {% if dict_options['thermocouple_type']|length == 1 %}
{{form.thermocouple_type.label(class_='control-label')}}
{{form.thermocouple_type(class_='form-control', value=each_device.thermocouple_type, **{'title': dict_translation['thermocouple_type']['phrase']})}}
{% elif dict_options['thermocouple_type']|length > 1 %}
{{form.thermocouple_type.label(class_='control-label')}}
{% endif %} {% endif %}