{% macro interval_input(obj, attrname, scales) -%} {%- for scale in scales %} {{scale[0]}} {% endfor -%} {%- endmacro %}