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

19 lines
610 B
Handlebars

{{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 name='header'}}{{yield}}{{/yield-slot}}
</header>
<div>
{{#yield-slot name='body'}}{{yield}}{{/yield-slot}}
</div>
<footer>
{{#yield-slot name='actions' params=(block-params (action 'close'))}}{{yield}}{{/yield-slot}}
</footer>
</div>
</div>
</div>