Revision 74ba9776
Added by Benjamin Dauvergne over 12 years ago
calebasse/agenda/templates/agenda/appointment.html | ||
---|---|---|
15 | 15 |
</td><td> |
16 | 16 |
<p> |
17 | 17 |
{{ form.duration.label_tag }} |
18 |
{{ form.duration }} |
|
18 |
{{ form.duration|add_class:"mousewheel"|attr:"data-mousewheel-increment:15" }}
|
|
19 | 19 |
{{ form.duration.errors }} |
20 |
<div> |
|
21 |
{{ form.duration.help_text }} |
|
22 |
</div> |
|
20 | 23 |
</p> |
21 | 24 |
</td></tr> |
22 | 25 |
|
Also available in: Unified diff
new appointment form: use a simple text entry for the duration field
the text entry is modified by the mousewheel with 15 minutes increments.
It uses the jquery mousewheel plugin.