1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2024-12-26 19:42:20 +00:00
plateforme-corres2math/corres2math/templates/base_modal.html

24 lines
1.2 KiB
HTML
Raw Normal View History

2020-09-24 09:15:54 +00:00
{% load i18n %}
2020-09-22 18:41:42 +00:00
2020-09-24 19:43:45 +00:00
<div id="{{ modal_id }}Modal" class="modal fade" tabindex="-1" role="dialog">
2020-10-15 14:03:08 +00:00
<div class="modal-dialog {{ modal_additional_class }}" role="document">
2020-10-20 12:21:16 +00:00
<form id="{{ modal_id }}-form" method="{{ modal_form_method|default:"post" }}" action="{{ modal_action }}" enctype="{{ modal_enctype|default:"application/x-www-form-urlencoded" }}">
2020-09-22 18:41:42 +00:00
<div class="modal-content">
<div class="modal-header">
2020-09-24 19:43:45 +00:00
<h5 class="modal-title">{{ modal_title }}</h5>
2020-09-22 18:41:42 +00:00
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
2020-09-27 12:32:05 +00:00
<div class="modal-body">{{ modal_content }}</div>
2020-09-22 18:41:42 +00:00
<div class="modal-footer">
2020-10-31 21:18:04 +00:00
{{ extra_modal_button }}
2020-10-15 14:03:08 +00:00
{% if modal_button %}
<button type="submit" class="btn btn-{{ modal_button_type|default:"primary" }}">{{ modal_button }}</button>
{% endif %}
2020-09-22 18:41:42 +00:00
<button type="button" class="btn btn-secondary" data-dismiss="modal">{% trans "Close" %}</button>
</div>
</div>
</form>
</div>
</div>