Browse Source

Staff task name mandatory

master
piernov 9 years ago
parent
commit
4d448b614e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      jm2l/forms.py

+ 1
- 1
jm2l/forms.py View File

@@ -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')


Loading…
Cancel
Save