discourse/app/assets/javascripts/wizard/templates/components/wizard-field-radio.hbs

12 lines
359 B
Handlebars
Raw Normal View History

2016-09-10 03:57:44 +08:00
{{#each field.choices as |c|}}
<div class="radio-field-choice">
{{radio-button value=field.value
radioValue=c.id
label=c.label
2016-09-21 23:22:46 +08:00
extraLabel=c.extra_label
2016-09-10 03:57:44 +08:00
icon=c.icon
description=c.description
onChange=(action "changed")}}
2016-09-10 03:57:44 +08:00
</div>
{{/each}}