{% macro draw_array_component(inputRow, disabled) -%} {% with %} {% set add_attrs = ("disabled='disabled'") | safe if disabled else '' %} {% set value = inputRow.default if 'default' in inputRow and (inputRow.default | string) != 'None' else '' %} {% endwith %} {% import 'flow/genericAdapterTemplateFunctions.html' as gatf %} {% import 'flow/type2component/number2component.html' as n2c %} {{ gatf.add_checkbox_control(inputRow) }} {{ n2c.drawRangeComponent(inputRow, parentDivId) }} {%- endmacro %}