1
|
<form>
|
2
|
{% csrf_token %}
|
3
|
{% if form %}
|
4
|
<div class='print-only'>{{ form.services }}</div>
|
5
|
<table>
|
6
|
<tr><td colspan=2>{{ form.non_field_errors }}</td></tr>
|
7
|
<tr>
|
8
|
<th>Date début</th><th>Date fin</th>
|
9
|
</tr>
|
10
|
<tr>
|
11
|
<td id="start" data-before-selector="#end" class="datepicker" data-number-of-months="2">
|
12
|
{{ form.start_date }} {{ form.start_date.errors }}
|
13
|
</td>
|
14
|
<td id="end" data-after-selector="#start" class="datepicker" data-number-of-months="2">
|
15
|
{{ form.end_date }} {{ form.end_date.errors }}
|
16
|
</td>
|
17
|
</tr>
|
18
|
<tr>
|
19
|
<th>Heure début</th><th>Heure fin</th>
|
20
|
</tr>
|
21
|
<tr>
|
22
|
<td>{{ form.start_time }} {{ form.start_time.errors }}</td>
|
23
|
<td>{{ form.end_time }} {{ form.end_time.errors }}</td>
|
24
|
</tr>
|
25
|
<tr>
|
26
|
<th>Type</<th><th>Commentaire</th>
|
27
|
</tr>
|
28
|
<tr>
|
29
|
<td>{{ form.holiday_type }} {{ form.holiday_type.errors }}</td>
|
30
|
<td>{{ form.comment }} {{ form.comment.errors }}</td>
|
31
|
</tr>
|
32
|
</table>
|
33
|
{% else %}
|
34
|
Etez-vous sur de vouloir supprimer cette absence?
|
35
|
{% endif %}
|
36
|
</form>
|