1
|
{% load widget_tweaks %}
|
2
|
<table id="new-appointment-table"><tr><td>
|
3
|
<p class="datepicker">
|
4
|
|
5
|
{{ form.date.label_tag }}
|
6
|
{{ form.date|add_class:"datepicker-date" }}
|
7
|
{{ form.date.errors }}
|
8
|
</p>
|
9
|
</td><td>
|
10
|
<p>
|
11
|
{{ form.time.label_tag }}
|
12
|
{{ form.time }}
|
13
|
{{ form.time.errors }}
|
14
|
</p>
|
15
|
</td><td>
|
16
|
<p>
|
17
|
{{ form.duration.label_tag }}
|
18
|
{{ form.duration|add_class:"mousewheel"|attr:"data-mousewheel-increment:5" }}
|
19
|
{{ form.duration.errors }}
|
20
|
<div>
|
21
|
{{ form.duration.help_text }}
|
22
|
</div>
|
23
|
</p>
|
24
|
</td></tr>
|
25
|
|
26
|
<tr>
|
27
|
<td>
|
28
|
<h4>{{ form.participants.label_tag }}</h4>
|
29
|
<div id="intervenants">
|
30
|
{{ form.participants }}
|
31
|
{{ form.participants.errors }}
|
32
|
</div>
|
33
|
</td>
|
34
|
<td>
|
35
|
<h4>{{ form.patient.label_tag }}</h4>
|
36
|
{{ form.patient }}
|
37
|
{{ form.patient.errors }}
|
38
|
</td>
|
39
|
<td>
|
40
|
|
41
|
<h4>{{ form.act_type.label_tag }}</h4>
|
42
|
{{ form.act_type }}
|
43
|
{{ form.act_type.errors }}
|
44
|
</td>
|
45
|
</tr>
|
46
|
</table>
|
47
|
|
48
|
<hr/>
|
49
|
<!-- <button>Configurer la périodicité</button> -->
|
50
|
|