consul/ui-v2/app/templates/components/confirmation-dialog.hbs
John Cowen 06d09d11f1
ui: Move slots to use attributes over positional params (#7032)
* Change all instances of yield/block-slots to use attributes over positional arguments

* Remove the ability to use yield/block-slots with positional params
2020-01-15 09:15:54 +00:00

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}}