Project

General

Profile

« Previous | Next » 

Revision 428081e0

Added by Jérôme Schneider over 12 years ago

dossiers: rename familly to family and add transport and follow-up forms

View differences:

calebasse/dossiers/templates/dossiers/patientrecord_update.html
159 159
                <button type="button" id="traitement-patientrecord">En traitement</button>
160 160
            {% endif %}
161 161
        {% endif %}
162
<!--        <button id="close-patientrecord">Clore</button>-->
163
<!--        <button id="reopen-patientrecord">Ré-accueillir</button>-->
164 162
        <button type="button" id="patientrecord-history">Historique</button><br/>
165 163
        <hr/>
166 164
        <p id="pause-msg" style="display: none; font-size: 10px;">Pause facturation mise à jour</p>
......
232 230
      <p>
233 231
      {% for field in forms.inscription %}
234 232
      {{ field.label_tag  }} : {{ field }}
235
      <button class="dialog-button"
233
      <button type="button"
234
          class="dialog-button"
236 235
          data-url="../../ressources/{{ field.name }}/new/ #form-content"
237 236
          data-default-button="Ajouter"
238 237
          data-next-url="{{ request.get_full_path }}#tab=1"
......
244 243
    </div>
245 244
  </form>
246 245

  
247
    <form method="post" id="inscription-form" class="patientrecordform">
246
    <form method="post" id="family-form" class="patientrecordform">
248 247
    {% csrf_token %}
249 248
    <div class="frame inline">
250 249
        <h3>Famille</h3>
251 250
      <button class="save">✔</button>
252 251
      <p>
253
      {% for field in forms.familly %}
252
      {% for field in forms.family %}
254 253
      {{ field.errors }}
255 254
      {% endfor %}
256 255
      </p>
257 256
      <p>
258
      {{ forms.familly.sibship_place.label_tag  }} : {{ forms.familly.sibship_place }}
259
      {{ forms.familly.nb_children_family.label_tag  }} : {{ forms.familly.nb_children_family }}
260
      {{ forms.familly.twinning_rank.label_tag  }} : {{ forms.familly.twinning_rank }}
257
      {{ forms.family.sibship_place.label_tag  }} : {{ forms.family.sibship_place }}
258
      {{ forms.family.nb_children_family.label_tag  }} : {{ forms.family.nb_children_family }}
259
      {{ forms.family.twinning_rank.label_tag  }} : {{ forms.family.twinning_rank }}
261 260
      </p>
262 261
      <p>
263
      {{ forms.familly.parental_authority.label_tag  }} : {{ forms.familly.parental_authority }}
264
      <button class="dialog-button"
262
      {{ forms.family.parental_authority.label_tag  }} : {{ forms.family.parental_authority }}
263
      <button type="button"
264
          class="dialog-button"
265 265
          data-url="../../ressources/parentalauthoritytype/new/ #form-content"
266 266
          data-default-button="Ajouter"
267 267
          data-next-url="{{ request.get_full_path }}#tab=1"
268 268
          title="Ajouter un type d'autorité parentale"
269 269
          type="button">+</button>
270
      {{ forms.familly.familly_situation.label_tag  }} : {{ forms.familly.familly_situation }}
271
      <button class="dialog-button"
270
      {{ forms.family.family_situation.label_tag  }} : {{ forms.family.family_situation }}
271
      <button type="button"
272
          class="dialog-button"
272 273
          data-url="../../ressources/familysituationtype/new/ #form-content"
273 274
          data-default-button="Ajouter"
274 275
          data-next-url="{{ request.get_full_path }}#tab=1"
275 276
          title="Ajouter un type de situation familiale"
276 277
          type="button">+</button>
277
      {{ forms.familly.child_custody.label_tag  }} : {{ forms.familly.child_custody }}
278
      <button class="dialog-button"
278
      {{ forms.family.child_custody.label_tag  }} : {{ forms.family.child_custody }}
279
      <button type="button"
280
          class="dialog-button"
279 281
          data-url="../../ressources/parentalcustodytype/new/ #form-content"
280 282
          data-default-button="Ajouter"
281 283
          data-next-url="{{ request.get_full_path }}#tab=1"
......
286 288
    </div>
287 289
    </form>
288 290

  
289
    <div class="frame">
291
    <form method="post" id="transport-form" class="patientrecordform">
292
    {% csrf_token %}
293
    <div class="frame inline">
290 294
      <h3>Transport</h3>
291 295
      <button class="save">✔</button>
292 296
      <p>
293
      <label>Type de transport :</label> <select><option>Indéfini</option></select> <button>+</button>
294
      <label>Compagnie de transport :</label> <select><option>Indéfini</option></select> <button>+</button>
297
      {% for field in forms.transport %}
298
      {{ field.label_tag  }} : {{ field }}
299
      <button type="button"
300
          class="dialog-button"
301
          data-url="../../ressources/{{ field.name }}/new/ #form-content"
302
          data-default-button="Ajouter"
303
          data-next-url="{{ request.get_full_path }}#tab=1"
304
          title="Ajouter un {{ field.label.lower }}"
305
          type="button">+</button>
306
      {% endfor %}
295 307
      </p>
296 308
      <table>
297
        <tr><td><button>Attestation</button></td> <td><button>Prescription</td></tr>
309
        <tr><td><button type="button">Attestation</button></td> <td><button type="button">Prescription</td></tr>
298 310
          <tr><td>Dernière attestation le 25/07/2012 <button>Historique</button></td>
299 311
            <td>Dernière prescription le 25/07/2012 <button>Historique</button></td></tr>
300 312
        </table>
301 313
      <input type="hidden"  name="tab"  value="1">
302 314
      </div>
315
    </form>
303 316

  
304 317
      <div class="frame">
305 318
        <h3>Suivi du patient</h3>

Also available in: Unified diff