{% if 'resolution_2' in dict_inputs[each_input.device]['options_enabled'] %} {% if dict_inputs[each_input.device]['resolution']|length == 1 %}