mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-11 02:32:54 +00:00
28 lines
787 B
Handlebars
28 lines
787 B
Handlebars
![]() |
<span
|
||
|
class="{{@class}} {{this.checkedClass}} {{this.disabledClass}}"
|
||
|
{{did-insert this.bindEvents}}
|
||
|
{{will-destroy this.unBindEvents}}
|
||
|
>
|
||
|
{{#if hasBlock}}
|
||
|
<label class="ember-radio-button {{this.checkedClass}} {{this.disabledClass}} {{@class}}" for={{@radioId}} ...attributes>
|
||
|
<RadioButtonInput
|
||
|
id={{@radioId}}
|
||
|
@name={{@name}}
|
||
|
@disabled={{@disabled}}
|
||
|
@groupValue={{@groupValue}}
|
||
|
@value={{@value}}
|
||
|
@changed={{fn this.changed}} ...attributes/>
|
||
|
|
||
|
{{yield}}
|
||
|
</label>
|
||
|
{{else}}
|
||
|
<RadioButtonInput
|
||
|
id={{@radioId}}
|
||
|
@name={{@name}}
|
||
|
@disabled={{@disabled}}
|
||
|
@groupValue={{@groupValue}}
|
||
|
@value={{@value}}
|
||
|
@changed={{fn this.changed}} ...attributes/>
|
||
|
{{/if}}
|
||
|
</span>
|