{# RadioGroup, ported from shadcn/ui. Radix reimplements radio semantics on divs with a roving tabindex; a native already has all of it -- one tab stop per group, arrow keys within it, and a plain form submit -- so this keeps the native control and takes only shadcn's layout and colouring. Zero JS. `choices` is a list of dicts: {"value": ..., "label": ..., "help": ...(optional)}. #} {% macro radio_group(name, label, choices=(), selected=none) %}
{% endmacro %}