mass-delete.html 813 Bytes
Newer Older
Oláh István Gergely committed
1
{% load i18n %}
2 3 4 5
<div class="modal fade" id="confirmation-modal" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-body">
6
        {% trans "Are you sure you want to delete the following objects?" %}<br />
7
        {% for o in objects %}
8 9
          <strong>{{ o }}</strong>{% if not forloop.last %},{% endif %}
        {% endfor %}
10
        <div class="pull-right" style="margin-top: 40px;">
11 12
          <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel" %}</button>
          <button id="confirmation-modal-button" type="button" class="btn btn-danger">{% trans "Delete" %}</button>
13 14 15
        </div>
        <div class="clearfix"></div>
      </div>
16 17
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
18
</div>