2024-10-25 08:52:43 +00:00
|
|
|
<div class={{@wrapper-class}}>
|
|
|
|
{{#each this.args.elements as |element|}}
|
|
|
|
<label class={{@label-class}}>
|
|
|
|
{{element.description}}
|
|
|
|
<Input
|
|
|
|
@type="checkbox"
|
|
|
|
name="{{element.name}}"
|
2024-10-29 12:23:04 +00:00
|
|
|
class="{{@input-classes}}"
|
2024-10-25 08:52:43 +00:00
|
|
|
@checked={{element.checked}}
|
|
|
|
{{on "change" this.onChange}}
|
|
|
|
/>
|
|
|
|
</label>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|