{% macro draw_number_component(inputRow, disabled, parentDivId) -%} {% import 'flow/genericAdapterTemplateFunctions.html' as gatf %} {{ gatf.add_checkbox_control(inputRow) }} {{ drawRangeComponent(inputRow, parentDivId) }} {%- endmacro %} {% macro drawRangeComponent(inputRow, parentDivId) -%} {% if 'minValue' in inputRow and 'maxValue' in inputRow and 'stepValue' in inputRow and not param_checkbox_config %} {% with %} {% set containerDivId = parentDivId ~ inputRow.name ~ '_RANGER' %} {% set minValue = inputRow.minValue | float %} {% set maxValue = inputRow.maxValue | float %} {% set stepValue = inputRow.stepValue | float %}
{% endwith %} {% endif %} {%- endmacro %}