Project

General

Profile

Download (4.12 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / dossiers / templates / dossiers / patientcontact_new.html @ 1f4ae3b3

1
{% load widget_tweaks %}
2

    
3
<form id="contactform" action="{{ request.get_full_path }}" enctype="multipart/form-data" method="post">
4
  {% csrf_token %}
5
  <table>
6
    <tbody>
7
      <tr>
8
        <td>
9
          {{ form.first_name.label_tag }} :<br>
10
          {{ form.first_name.errors }}
11
          {{ form.first_name }}
12
        </td>
13
        <td>
14
          {{ form.last_name.label_tag }} :<br>
15
          {{ form.last_name.errors }}
16
          {{ form.last_name }}
17
        </td>
18
        <td>
19
          {{ form.gender.label_tag }} :<br>
20
          {{ form.gender }}
21
          {{ form.gender.errors }}
22
        </td>
23
      </tr>
24
      <tr>
25
        <td>
26
          {{ form.birthdate.label_tag }} :<br>
27
          {{ form.birthdate.errors }}
28
          {{ form.birthdate }}
29
        </td>
30
         <td>
31
          {{ form.birthplace.label_tag }} :<br>
32
          {{ form.birthplace.errors }}
33
          {{ form.birthplace }}
34
        </td>
35
        <td>
36
          {{ form.twinning_rank.label_tag }} :<br>
37
          {{ form.twinning_rank.errors }}
38
          {{ form.twinning_rank }}
39
        </td>
40
      </tr>
41
  </table>
42
  <table>
43
      <tr>
44
         <td>
45
          {{ form.parente.label_tag }} :<br>
46
          {{ form.parente.errors }}
47
          {{ form.parente }}
48
        </td>
49
        <td>
50
          {{ form.job.label_tag }} :<br>
51
          {{ form.job.errors }}
52
          {{ form.job }}
53
        </td>
54
      </tr>
55
      <tr>
56
        <td>
57
          Téléphone personnel :<br>
58
          {{ form.mobile.errors }}
59
          {{ form.mobile }}
60
        </td>
61
        <td>
62
          Téléphone professionnel :<br>
63
          {{ form.phone.errors }}
64
          {{ form.phone }}
65
        </td>
66
      </tr>
67
      <tr>
68
        <td>
69
          {{ form.email.label_tag }} :<br>
70
          {{ form.email.errors }}
71
          {{ form.email }}
72
        </td>
73
      </tr>
74
  </table>
75
  <table>
76
      <tr>
77
        <td id="social-security-id">
78
          {{ form.social_security_id.label_tag }} :<br>
79
          {{ form.social_security_id.errors }}
80
          {{ form.social_security_id }}
81
          <p id="nir-key">Clé : <span>-</span></p>
82
        </td>
83
      </tr>
84
      <tr>
85
        <td>
86
          {{ form.begin_rights.label_tag }} :<br>
87
          {{ form.begin_rights.errors }}
88
          {{ form.begin_rights }}
89
        </td>
90
        <td>
91
          {{ form.end_rights.label_tag }} :<br>
92
          {{ form.end_rights.errors }}
93
          {{ form.end_rights }}
94
        </td>
95
      </tr>
96
      <tr>
97
        <td>
98
          {{ form.health_org.label_tag }} :<br>
99
          {{ form.health_org.errors }}
100
          {{ form.health_org }}
101
        </td>
102
        <td>
103
          {{ form.other_health_center.label_tag }} :<br>
104
          {{ form.other_health_center.errors }}
105
          {{ form.other_health_center }}
106
        </td>
107
      </tr>
108
      <tr>
109
        <td>
110
          {{ form.type_of_contract.label_tag }} :<br>
111
          {{ form.type_of_contract.errors }}
112
          {{ form.type_of_contract }}
113
        </td>
114
        <td>
115
          {{ form.thirdparty_payer.label_tag }} :<br>
116
          {{ form.thirdparty_payer.errors }}
117
          {{ form.thirdparty_payer }}
118
        </td>
119
        <td>
120
          {{ form.ame.label_tag }} :<br>
121
          {{ form.ame.errors }}
122
          {{ form.ame }}
123
        </td>
124
      </tr>
125
  </table>
126
  <table>
127
      <tr>
128
        <td>
129
          {{ form.management_code.label_tag }} :<br>
130
          {{ form.management_code.errors }}
131
          {{ form.management_code }}
132
        </td>
133
      </tr>
134
      <tr {% if object.id == request.session.patientrecord_id %}style="display: none;"{%endif%}>
135
        <td>
136
          {{ form.addresses.label_tag }} :
137
          <p id="contact-add-address">
138
          <a href="#tab=2&newcontact" id="contact-add-address" role="button" title="Ajouter une adresse" onClick="javascript: load_add_address_dialog();">
139
            <span class="icon-plus" title="Ajouter une adresse"></Span>
140
            Ajouter une adresse
141
          </a>
142
          </p>
143
          {{ form.addresses.errors }}
144
          {{ form.addresses }}
145
        </td>
146
      </tr>
147
    </tbody>
148
  </table>
149
  <p>
150
  {{ form.contact_comment.label_tag }}
151
  {{ form.contact_comment.errors }}
152
  {{ form.contact_comment }}
153
  </p>
154
 </form>
155
 <div id="address-dlg"></div>
(10-10/30)