ac629cd51e
* Add components for KV form, KV list and Session form * Pass through a @label attribute for a human label + don't require error * Ignore transition aborted errors for if you are re-transitioning * Make old confirmation dialog more ember-like and tagless * Make sure data-source and data-sink supports KV and sessions * Use new components and delete all the things * Fix up tests * Make list component tagless * Add component pageobject and fixup tests from that * Add eslint warning back in
13 lines
433 B
Handlebars
13 lines
433 B
Handlebars
<div class={{concat "with-confirmation" (if confirming " confirming" "")}} ...attributes>
|
|
{{yield}}
|
|
<YieldSlot @name="action" @params={{block-params (action "confirm") (action "cancel")}}>
|
|
{{#if (or permanent (not confirming))}}
|
|
{{yield}}
|
|
{{/if}}
|
|
</YieldSlot>
|
|
<YieldSlot @name="dialog" @params={{block-params (action "execute") (action "cancel") message actionName}}>
|
|
{{#if confirming }}
|
|
{{yield}}
|
|
{{/if}}
|
|
</YieldSlot>
|
|
</div> |