{% macro string(name, placeholder, value, readOnly, options) -%} {%- endmacro %} {% macro textarea(name, placeholder, readOnly, options) -%} {%- endmacro %} {% macro checkbox(name, placeholder, readOnly) -%} {%- endmacro %} {# Output a select element with the given name and options. options is in the usual array #} {# format: objects with value and label properties. If "selected" is present, the option with #} {# the matching value receives a "selected" attribute. (In most cases this is handled through #} {# front-end JavaScript, however for filters in the "manage" view we do push it in server-side.) #} {% macro select(name, options, selected, readOnly) -%}
{%- endmacro %}