1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-30 21:42:21 +00:00
plateforme-tfjm2/tfjm/templates/base_modal.html

22 lines
1.2 KiB
HTML
Raw Normal View History

2020-12-27 10:49:54 +00:00
{% load i18n %}
<div id="{{ modal_id }}Modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog {{ modal_additional_class }}" role="document">
<form id="{{ modal_id }}-form" method="{{ modal_form_method|default:"post" }}" action="{{ modal_action }}" enctype="{{ modal_enctype|default:"application/x-www-form-urlencoded" }}">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">{{ modal_title }}</h5>
2023-02-20 13:52:25 +00:00
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
2020-12-27 10:49:54 +00:00
</div>
<div class="modal-body">{{ modal_content }}</div>
<div class="modal-footer">
{{ extra_modal_button }}
{% if modal_button %}
<button type="submit" class="btn btn-{{ modal_button_type|default:"primary" }}">{{ modal_button }}</button>
{% endif %}
2023-02-20 13:52:25 +00:00
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">{% trans "Close" %}</button>
2020-12-27 10:49:54 +00:00
</div>
</div>
</form>
</div>
</div>