ohif-viewer/Packages/ohif-core/components/bootstrap/input/groupRadio.html

22 lines
646 B
HTML
Raw Normal View History

<template name="groupRadio">
{{#group (extend this
2016-07-14 16:25:39 +02:00
class=(concat 'group-radio ' this.class)
mixins=(concat "groupRadio " this.mixins)
wrappers=(concat ''
(valueIf reactive this.label 'wrapperTitle ' '')
2016-07-14 16:25:39 +02:00
this.wrappers
)
)}}
{{>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>