mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-14 21:40:43 +00:00
19 lines
698 B
HTML
19 lines
698 B
HTML
{% import 'admin/static.html' as admin_static with context %}
|
|
{% import 'admin/lib.html' as lib with context %}
|
|
|
|
{% block body %}
|
|
{# content added to modal-content #}
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
{% block header %}<h3>{{ header_text }}</h3>{% endblock %}
|
|
</div>
|
|
<div class="modal-body">
|
|
{% block fa_form %}
|
|
{{ lib.render_form(form, dir_url, action=request.url, is_modal=True) }}
|
|
{% endblock %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block tail %}
|
|
<script src="{{ admin_static.url(filename='admin/js/bs3_modal.js', v='1.0.0') }}"></script>
|
|
{% endblock %}
|