1
|
{% load widget_tweaks %}
|
2
|
|
3
|
<form action="{{ request.get_full_path }}" method="post">
|
4
|
{% csrf_token %}
|
5
|
<p>
|
6
|
<label for="id_start_date">{{ form.start_date.label_tag }}</label>
|
7
|
{{ form.start_date.errors }}
|
8
|
<input id="id_start_date" class="date" name="start_date" value="{% now "d/m/Y" %}"/>
|
9
|
</p>
|
10
|
<p>
|
11
|
<label for="id_act_number">{{ form.act_number.label_tag }}</label>
|
12
|
{{ form.act_number.errors }}
|
13
|
<input id="id_act_number" name="act_number" value="{{ form.act_number.value }}"/>
|
14
|
</p>
|
15
|
<p>
|
16
|
<label for="id_comment">Commentaire :</label>
|
17
|
<textarea id="id_comment" style="width: 90%;" name="comment"></textarea>
|
18
|
</p>
|
19
|
</form>
|