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