10 lines
425 B
HTML
10 lines
425 B
HTML
<!-- retoor <retoor@molodetz.nl> -->
|
|
{% macro modal(id, title, wide=False) %}
|
|
<div class="modal-overlay" id="{{ id }}" role="dialog" aria-modal="true" aria-labelledby="{{ id }}-title">
|
|
<div class="modal{% if wide %} wide{% endif %}">
|
|
<header><h2 id="{{ id }}-title">{{ title }}</h2><button class="modal-close" type="button" aria-label="Close">×</button></header>
|
|
{{ caller() }}
|
|
</div>
|
|
</div>
|
|
{% endmacro %}
|