mirror of https://github.com/hashicorp/consul
11 lines
292 B
Handlebars
11 lines
292 B
Handlebars
{{yield}}
|
|
<YieldSlot @name="action" @params={{block-params confirm cancel}}>
|
|
{{#if (or permanent (not confirming))}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</YieldSlot>
|
|
<YieldSlot @name="dialog" @params={{block-params execute cancel message actionName}}>
|
|
{{#if confirming }}
|
|
{{yield}}
|
|
{{/if}}
|
|
</YieldSlot> |