{% 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" %}
{{ component_id }} {{ q_num }} / {{ q_total }}

{{ question.question }}

{% if question.helper %}

{{ question.helper }}

{% endif %}
{% if question.entry_type == "bool" %} {% elif question.entry_type == "ml-string" %} {% elif is_list_type %}
{% elif question.choices %} {% else %} {% endif %}