2020-06-23 09:12:04 +00:00
|
|
|
{{yield}}
|
2020-12-02 09:43:34 +00:00
|
|
|
<InformedAction
|
|
|
|
class="confirmation-alert warning"
|
|
|
|
...attributes
|
|
|
|
>
|
|
|
|
<:header>
|
|
|
|
<YieldSlot @name="header">{{yield}}</YieldSlot>
|
|
|
|
</:header>
|
|
|
|
<:body>
|
2020-06-23 09:12:04 +00:00
|
|
|
<YieldSlot @name="body">{{yield}}</YieldSlot>
|
2020-12-02 09:43:34 +00:00
|
|
|
</:body>
|
|
|
|
<:actions as |Actions|>
|
|
|
|
<Actions.Action class="dangerous">
|
|
|
|
<YieldSlot @name="confirm" @params={{
|
|
|
|
block-params (component 'action'
|
|
|
|
onclick=(action @onclick)
|
2021-01-25 18:13:54 +00:00
|
|
|
tabindex="-1"
|
2020-12-02 09:43:34 +00:00
|
|
|
)
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
{{yield}}
|
|
|
|
</YieldSlot>
|
|
|
|
</Actions.Action>
|
|
|
|
<Actions.Action>
|
|
|
|
<Action @for={{@name}}>
|
|
|
|
Cancel
|
|
|
|
</Action>
|
|
|
|
</Actions.Action>
|
|
|
|
</:actions>
|
|
|
|
</InformedAction>
|