mirror of
https://github.com/status-im/consul.git
synced 2025-01-12 14:55:02 +00:00
2369c47033
This adds the component but doesn't yet use it anywhere. No tests are added here as there isn't an awful lot to test.
7 lines
410 B
Handlebars
7 lines
410 B
Handlebars
<input id={{concat 'sort-control-value-' elementId}} type="radio" value="Name" name={{concat 'sort-control-' name}} onchange={{action 'change'}} />
|
|
{{#if checked}}
|
|
<input id={{concat 'sort-control-direction-' elementId}} type="checkbox" onchange={{action 'change'}} />
|
|
{{/if}}
|
|
<label for={{if checked (concat 'sort-control-direction-' elementId) (concat 'sort-control-value-' elementId)}}>
|
|
{{yield}}
|
|
</label> |