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

11 lines
298 B
Handlebars

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