consul/ui-v2/app/templates/components/confirmation-dialog.hbs

11 lines
274 B
Handlebars

{{yield}}
{{#yield-slot 'action' (block-params confirm cancel)}}
{{#if (or permanent (not confirming))}}
{{yield}}
{{/if}}
{{/yield-slot}}
{{#yield-slot 'dialog' (block-params execute cancel message actionName)}}
{{#if confirming }}
{{yield}}
{{/if}}
{{/yield-slot}}