|
|
|
@ -15,7 +15,9 @@ |
|
|
|
<table class="table table-striped"> |
|
|
|
<thead> |
|
|
|
<tr> |
|
|
|
<th>Utilisateur</th> |
|
|
|
<th>Profil</th> |
|
|
|
<th>Nom</th> |
|
|
|
<th>Prénom</th> |
|
|
|
<th>Designation</th> |
|
|
|
<th>Prix total</th> |
|
|
|
<th>Moyen de paiement</th> |
|
|
|
@ -27,7 +29,11 @@ |
|
|
|
{% for form in controlform.forms %} |
|
|
|
{% bootstrap_form_errors form %} |
|
|
|
<tr> |
|
|
|
<td>{{ form.instance.user }}</td> |
|
|
|
|
|
|
|
<td><a href="{% url "users:profil" form.instance.user.id%}" class="btn btn-primary btn-sm" role="button"><i class="glyphicon glyphicon-user"></i></a> |
|
|
|
</td> |
|
|
|
<td>{{ form.instance.user.name }}</td> |
|
|
|
<td>{{ form.instance.user.surname }}</td> |
|
|
|
<td>{{ form.instance.name }}</td> |
|
|
|
<td>{{ form.instance.prix_total }}</td> |
|
|
|
<td>{{ form.instance.paiement }}</td> |
|
|
|
|