<template name="groupRadio">
    {{#group (extend this
        class=(concat 'group-radio ' this.class)
        mixins=(concat 'groupRadio ' this.mixins)
        wrappers=(concat ''
            (valueIf reactive this.label 'wrapperLabel ' '')
            this.wrappers
        )
        labelAsDiv=true
    )}}
        {{>UI.contentBlock}}
        {{#each item in (reactive this.items)}}
            {{>inputRadio
                class=this.radioClass
                name=this.key
                value=item.value
                label=item.label
                checked=(eq item.value (reactive this.value))
            }}
        {{/each}}
    {{/group}}
</template>
