2021-05-17 19:34:49 +00:00
|
|
|
{% 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">
|
|
|
|
{% block header %}<h3>{{ header_text }}</h3>{% endblock %}
|
2022-03-02 22:35:20 +00:00
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
2021-05-17 19:34:49 +00:00
|
|
|
</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 %}
|
2022-03-02 22:35:20 +00:00
|
|
|
<script src="{{ admin_static.url(filename='admin/js/bs4_modal.js', v='1.0.0') }}"></script>
|
2021-05-17 19:34:49 +00:00
|
|
|
{% endblock %}
|