kpsul/cof/templates/details_demande_petit_cours_infos.html

15 lines
1.2 KiB
HTML
Raw Normal View History

{% load staticfiles %}
2016-07-29 11:33:26 +02:00
<table class="table table-striped">
<tr class="danger"><td><strong>Date</strong></td><td> {{ demande.created }}</td></tr>
<tr class="warning"><td><strong>Nom/prénom</strong></td><td> {{ demande.name }}</td></tr>
<tr><td><strong>Email</strong></td><td> {{ demande.email }}</td></tr>
<tr><td><strong>Téléphone</strong></td><td> {{ demande.phone }}</td></tr>
<tr><td><strong>Lieu</strong></td><td> {{ demande.lieu }}</td></tr>
<tr><td><strong>Quand</strong></td><td> {{ demande.quand }}</td></tr>
<tr><td><strong>Fréquence</strong></td><td> {{ demande.freq }}</td></tr>
<tr><td><strong>Matières</strong></td><td> {% for matiere in demande.matieres.all %}{% if forloop.counter0 > 0 %}, {% endif %}{{ matiere }}{% endfor %}</td></tr>
<tr><td><strong>Niveau souhaité</strong></td><td> {{ demande.get_niveau_display }}</td></tr>
<tr><td><strong>Agrégé requis</strong></td><td> <img src="{% if demande.agrege_requis %}{% static "images/yes.png" %}{% else %}{% static "images/no.png" %}{% endif %}" /></td></tr>
<tr><td><strong>Remarques</strong></td><td> {{ demande.remarques }}</td></tr>
</table>