mass-delete.html 825 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 8 9 10
        {% for o in objects %}
          <strong>{{ o }}</strong>{% if not forloop.last %},{% endif %} 
        {% endfor %}  
        <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 16 17 18
        </div>
        <div class="clearfix"></div>
      </div>
    </div><!-- /.modal-content --> 
  </div><!-- /.modal-dialog --> 
</div>