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