consul/ui-v2/app/components/radio-card/index.hbs

11 lines
233 B
Handlebars
Raw Normal View History

<label
...attributes
class="radio-card{{if checked ' checked'}}"
>
<div>
<input type="radio" name={{name}} value={{value}} checked={{checked}} onchange={{action onchange}} />
</div>
<div>
{{yield}}
</div>
</label>