mirror of
https://github.com/status-im/consul.git
synced 2025-01-27 22:16:23 +00:00
06d09d11f1
* Change all instances of yield/block-slots to use attributes over positional arguments * Remove the ability to use yield/block-slots with positional params
11 lines
298 B
Handlebars
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}} |