2016-07-12 20:37:53 +02:00
|
|
|
<template name="inputRadio">
|
|
|
|
|
{{#baseComponent (extend this
|
|
|
|
|
base='baseInput'
|
2016-07-14 16:25:39 +02:00
|
|
|
type='radio'
|
2016-07-12 20:37:53 +02:00
|
|
|
mixins=(concat 'input ' this.mixins)
|
|
|
|
|
labelAfter=(valueIf (isDefined this.labelAfter) this.labelAfter true)
|
2016-07-15 19:44:31 +02:00
|
|
|
labelClass=(concat 'checkboxLabel ' this.labelClass)
|
2016-07-12 20:37:53 +02:00
|
|
|
wrappers=(concat ''
|
|
|
|
|
(valueIf reactive this.label 'wrapperLabel ' '')
|
2016-07-14 16:25:39 +02:00
|
|
|
this.wrappers
|
2016-07-12 20:37:53 +02:00
|
|
|
)
|
|
|
|
|
)}}
|
|
|
|
|
{{>UI.contentBlock}}
|
|
|
|
|
{{/baseComponent}}
|
|
|
|
|
</template>
|