consul/ui-v2/app/templates/components/modal-dialog.hbs

19 lines
588 B
Handlebars
Raw Normal View History

{{yield}}
<input id={{name}} type="radio" name="modal" data-checked="{{checked}}" checked={{checked}} onchange={{action 'change'}} />
<div role="dialog" aria-modal="true">
<label for="modal_close"></label>
<div>
<div>
<header>
<label for="modal_close">Close</label>
{{#yield-slot 'header'}}{{yield}}{{/yield-slot}}
</header>
<div>
{{#yield-slot 'body'}}{{yield}}{{/yield-slot}}
</div>
<footer>
{{#yield-slot 'actions' (block-params (action 'close'))}}{{yield}}{{/yield-slot}}
</footer>
</div>
</div>
</div>