_modal.html 765 Bytes
Newer Older
1
{% load i18n %}
2 3 4
<div class="modal fade" id="confirmation-modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
5 6 7 8 9 10
      {% if box_title and ajax_title %}
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
        <h4 class="modal-title">{{ box_title }}</h4>
      </div>
      {% endif %}
11
      <div class="modal-body">
12 13 14 15 16
        {% if template %}
          {% include template %}
        {% else %}
          {{ body|safe|default:"(body missing from context.)" }}
        {% endif %}
17 18 19
        <div class="clearfix"></div>
      </div>
      <div class="clearfix"></div>
20 21
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
22
</div>