2018-08-29 08:59:02 +00:00
|
|
|
{{! action groups are block only components, you MUST specify a list of actions in the component body }}
|
|
|
|
{{! therefore if you call this component as an inline component, nothing is produced }}
|
|
|
|
{{#if hasBlock }}
|
2019-11-25 17:43:25 +00:00
|
|
|
<input type="radio" name="actions" id="actions_{{index}}" checked={{if (eq checked 'checked') 'checked'}} onchange={{action onchange}} value={{index}} />
|
2018-08-29 08:59:02 +00:00
|
|
|
<label for="actions_{{index}}">
|
2019-11-25 17:43:25 +00:00
|
|
|
<span>Open</span>
|
2018-08-29 08:59:02 +00:00
|
|
|
</label>
|
|
|
|
<label for="actions_close">
|
2019-11-25 17:43:25 +00:00
|
|
|
<span>Close</span>
|
2018-08-29 08:59:02 +00:00
|
|
|
</label>
|
2019-11-25 17:43:25 +00:00
|
|
|
<div>
|
|
|
|
{{yield}}
|
|
|
|
</div>
|
2018-08-29 08:59:02 +00:00
|
|
|
{{/if}}
|