1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

<table class="table table-striped">  
        <thead>  
          <tr> 
            <th>Email</th>
          </tr>  
        </thead>  
        <tbody>
          {% for client in clientes %}

            <!-- DELETE POLIZA MODAL-->
            <div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-    labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
              <h3 id="myModalLabel">Delete Client</h3>
            </div>
            <div class="modal-body">
              <p>Are you sure you want to erase <i class="text-warning">{{ client.nombre }} ?</i></p>
            </div>
            <div class="modal-footer">
              <button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
              <a class="btn btn-danger btn-large" href="{% url delete_client_confirmation client.pk %}" data-toggle="modal">
              <i class="icon-trash icon-white"></i> Delete</a>
            </div>
           </div>
           <!-- DELETE POLIZA MODAL -->

            <tr>  
              <td>{{ client.email }}</td>
              <td>
                <div class="btn-group">
                  <!-- Delete button -->
                  <a href="#myModal" class="btn btn-danger  btn-mini" data-toggle="modal" title="Delete">
                    <i class="icon-trash icon-white"></i></a>
                </div>
              </td>
            </tr> 
          {% endfor %}
        </tbody>  
</table>