Project

General

Profile

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

calebasse / calebasse / personnes / templates / personnes / holiday_update_form.html @ 53647eb3

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