{% if 'weighting' in dict_inputs[each_input.device]['options_disabled'] or 'weighting' in dict_inputs[each_input.device]['options_enabled'] %}
{{form_mod_input.weighting.label(class_='control-label')}}
{%- if 'weighting' in dict_inputs[each_input.device]['options_disabled'] -%} {{form_mod_input.weighting(class_='form-control', value=each_input.weighting, disabled=True, **{'title': dict_translation['weighting']['phrase']})}} {% else %} {{form_mod_input.weighting(class_='form-control', value=each_input.weighting, **{'title': dict_translation['weighting']['phrase']})}} {%- endif -%}
{% endif %}