aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jm2l/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jm2l/forms.py b/jm2l/forms.py
index acb60f1..304a060 100644
--- a/jm2l/forms.py
+++ b/jm2l/forms.py
@@ -57,7 +57,7 @@ class EditStaffArea(StaffArea):
uid = HiddenField()
class StaffTasks(MyBaseForm):
- name = TextField(u'Nom de la tâche')
+ name = TextField(u'Nom de la tâche', [validators.Required()])
area_uid = SelectField(u'Pôle concerné', coerce=int )
closed_by = SelectField(u'Assigné à', coerce=int )
due_date = DateField(u'Date prévue', format='%d/%m/%Y')