{# One question's input(s). Expects q (SurveyQuestion), errors (set of str id), values (submitted form for re-render). #} {% set fid = 'q' ~ q.id %} {% set val = values.get(fid) if values else '' %}
{{ q.help }}
{% endif %} {% if q.type == 'scale' %} {% set lo = q.options.get('min', 0) %}{% set hi = q.options.get('max', 5) %}