{% from "components/select-input.html" import select, select_list, select_nested, select_wrapper %} {% macro radios(field, hint=None, disable=[], option_hints={}, hide_legend=False) %} {{ select(field, hint=None, disable=[], option_hints={}, hide_legend=False, input="radio") }} {% endmacro %} {% macro radio_list(options, child_map, disable=[], option_hints={}) %} {{ select_list(options, child_map, disable=[], option_hints={}, input="radio") }} {% endmacro %} {% macro radios_nested(field, child_map, hint=None, disable=[], option_hints={}, hide_legend=False) %} {{ select_nested(field, child_map, hint=None, disable=[], option_hints={}, hide_legend=False, input="radio") }} {% endmacro %} {% macro radios_wrapper(field, hint=None, disable=[], option_hints={}, hide_legend=False) %} {{ select_wrapper(field, hint=None, disable=[], option_hints={}, hide_legend=False, input="radio") }} {% endmacro %} {% macro radio(option, disable=[], option_hints={}, data_target=None, as_list_item=False) %} {{ select_input(option, disable=[], option_hints={}, data_target=None, as_list_item=False, input="radio") }} {% endmacro %} {% macro radio_select( field, hint=None, wrapping_class='form-group' ) %}