{% set is_list_type = question.entry_type in ( "list[str]", "list[int]", "list[float]", "list[bool]" ) %} {% set is_numeric = question.entry_type in ("int", "float", "list[int]", "list[float]") %} {% set input_type = "number" if is_numeric else "text" %} {% set step_attr = "1" if question.entry_type in ("int", "list[int]") else "any" %}
{{ question.helper }}
{% endif %}