{# A pill button with several mutually exclusive choices (a nicer radio button basically). This is not a complete fieldset, see formPill. Often used to build filters, several on a line #} {# Sometimes a pill button group is useful without a fieldset #} {# Designed to be plumbed with javascript, note the data attributes #} {%- macro formPillStandalone(name, options) -%} {%- for pill in options -%} {{ __(pill.label) }} {%- endfor -%} {%- endmacro -%}