|
{% load widget_tweaks %}
|
|
<table><tr><td>
|
|
<p>
|
|
|
|
{{ form.date.label_tag }}
|
|
{{ form.date|add_class:"datepicker-date" }}
|
|
{{ form.date.errors }}
|
|
</p>
|
|
</td><td>
|
|
<p>
|
|
{{ form.time.label_tag }}
|
|
{{ form.time }}
|
|
{{ form.time.errors }}
|
|
</p>
|
|
</td><td>
|
|
<p>
|
|
{{ form.duration.label_tag }}
|
|
{{ form.duration|add_class:"mousewheel"|attr:"data-mousewheel-increment:5" }}
|
|
{{ form.duration.errors }}
|
|
<div>
|
|
{{ form.duration.help_text }}
|
|
</div>
|
|
</p>
|
|
</td></tr>
|
|
|
|
<tr>
|
|
<td>
|
|
<h4>{{ form.participants.label_tag }}</h4>
|
|
<div id="intervenants">
|
|
{{ form.participants }}
|
|
{{ form.participants.errors }}
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<h4>{{ form.patient.label_tag }}</h4>
|
|
{{ form.patient }}
|
|
{{ form.patient.errors }}
|
|
</td>
|
|
<td>
|
|
|
|
<h4>{{ form.act_type.label_tag }}</h4>
|
|
{{ form.act_type }}
|
|
{{ form.act_type.errors }}
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<hr/>
|
|
<button>Configurer la périodicité</button>
|
|
|