2021-07-04 08:47:08 +02:00
|
|
|
<div class="micromodal" id="dialog_widget_modal" aria-hidden="true">
|
|
|
|
<div class="modal__overlay" tabindex="-1" data-micromodal-close>
|
2021-07-21 13:43:29 +02:00
|
|
|
<div {{#if id}}id="{{id}}" {{/if}}class="modal__container" role="dialog" aria-modal="true" aria-labelledby="dialog_title">
|
2021-07-04 08:47:08 +02:00
|
|
|
<header class="modal__header">
|
|
|
|
<h1 class="modal__title dialog_heading">
|
|
|
|
{{{ heading_text }}}
|
|
|
|
{{#if link}}
|
|
|
|
{{> help_link_widget }}
|
|
|
|
{{/if}}
|
|
|
|
</h1>
|
|
|
|
<button class="modal__close" aria-label="{{t 'Close modal' }}" data-micromodal-close></button>
|
|
|
|
</header>
|
|
|
|
<main class="modal__content">
|
|
|
|
<div class="alert" id="dialog_error"></div>
|
|
|
|
{{{ html_body }}}
|
|
|
|
</main>
|
|
|
|
<footer class="modal__footer">
|
2021-07-18 14:20:59 +02:00
|
|
|
{{#unless single_footer_button}}
|
2021-07-04 08:47:08 +02:00
|
|
|
<button class="modal__btn dialog_cancel_button" aria-label="{{t 'Close this dialog window' }}" data-micromodal-close>{{t "Cancel" }}</button>
|
2021-07-18 14:20:59 +02:00
|
|
|
{{/unless}}
|
|
|
|
<button class="modal__btn dialog_submit_button"{{#if single_footer_button}} aria-label="{{t 'Close this dialog window' }}" data-micromodal-close{{/if}}>
|
2021-07-04 08:47:08 +02:00
|
|
|
<span>{{{ html_submit_button }}}</span>
|
|
|
|
<div class="modal__spinner"></div>
|
|
|
|
</button>
|
|
|
|
</footer>
|
|
|
|
</div>
|
2018-09-12 17:43:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|