github.com/outbrain/consul@v1.4.5/ui-v2/app/templates/components/radio-group.hbs (about) 1 {{!<fieldset>}} 2 <div role="radiogroup" id="radiogroup_{{name}}" data-test-radiogroup="{{name}}">{{! menu?}} 3 {{#each items as |item|}} 4 <label class="type-radio value-{{item.value}}" data-test-radiobutton="{{name}}_{{item.value}}"> {{! slugify }} 5 <input type="radio" name={{name}} value={{item.value}} checked={{if (eq (concat value) item.value) 'checked'}} onchange={{action onchange}} /> 6 <span>{{item.label}}</span> 7 </label> 8 {{/each}} 9 </div> 10 {{!</fieldset>}}