{% if 'port' in dict_inputs[each_input.device]['options_disabled'] or 'port' in dict_inputs[each_input.device]['options_enabled'] %}