open-consul/ui-v2/app/components/confirmation-alert/index.hbs

22 lines
481 B
Handlebars

{{yield}}
<div class="confirmation-alert" ...attributes>
<div>
<header>
<YieldSlot @name="header">{{yield}}</YieldSlot>
</header>
<YieldSlot @name="body">{{yield}}</YieldSlot>
</div>
<ul>
<YieldSlot @name="confirm" @params={{
block-params (component 'confirmation-alert/action'
onclick=(action onclick)
)
}}
>
{{yield}}
</YieldSlot>
<li>
<label for={{name}}>Cancel</label>
</li>
</ul>
</div>