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