{#- The list of a select parameter. In the report page, and alone: the answer htmx puts into a select whose options depend on another parameter (GET /api/reports/CODE/params/NAME/options). -#} {% macro option_list(p, chosen, any_label) -%} {% if p.input_kind == 'select' and not p.required %}{{ any_label }}{% endif %} {% for o in p.options %} {{ o.label }} {% endfor %} {%- endmacro %}