Project

General

Profile

« Previous | Next » 

Revision fe8ac70a

Added by Mikaël Ates over 12 years ago

dossiers: display coordinators on general tab.

View differences:

calebasse/dossiers/templates/dossiers/patientrecord_tab1.html
21 21
    <li><label>Date d'inscription :</label> {{ initial_state.date_selected|date:"d/m/Y" }}</li>
22 22
    <li><label>Date de création :</label> {{ object.created|date:"d/m/Y" }}</li>
23 23
    <li><label>Lieu de socialisation :</label> {{ object.school|default_if_none:"Non renseigné" }}</li>
24
    <li><label>Coordinateurs :</label>
25
        {% if object.coordinators.all %}
26
        <ul>
27
          {% for coordinator in object.coordinators.all %}
28
          <li>{{ coordinator.first_name }} <span class="lastname">{{ coordinator.last_name }}</span></li>
29
          {% endfor %}
30
        </ul>
31
        {% else %}Aucun{% endif %}
32
    </li>
24 33
    <form method="post" id="general-form" class="patientrecordform">{% csrf_token %}
25 34
      <li><label>Commentaire :</label><br/>
26 35
      {{ forms.general.comment }}

Also available in: Unified diff