ajax-delete.html 831 Bytes
Newer Older
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 7 8
        {% if text %}
          {{ text }}
        {% else %}
9
          {%blocktrans with object=object%}
10
            Are you sure you want to delete <strong>{{ object }}</strong>?
11
          {%endblocktrans%}
12
        {% endif %}
13
        <br />
14
        <div class="pull-right" style="margin-top: 15px;">
15 16 17 18 19 20 21 22
          <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>