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-09-22 18:41:42 +00:00
|
|
|
<div class="modal-dialog" role="document">
|
2020-09-24 19:43:45 +00:00
|
|
|
<form method="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">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body"></div>
|
|
|
|
<div class="modal-footer">
|
2020-09-24 19:43:45 +00:00
|
|
|
<button type="submit" class="btn btn-{{ modal_button_type|default:"primary" }}">{{ modal_button }}</button>
|
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>
|