|
@@ -57,7 +57,7 @@ class EditStaffArea(StaffArea): |
|
|
uid = HiddenField() |
|
|
uid = HiddenField() |
|
|
|
|
|
|
|
|
class StaffTasks(MyBaseForm): |
|
|
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 ) |
|
|
area_uid = SelectField(u'Pôle concerné', coerce=int ) |
|
|
closed_by = SelectField(u'Assigné à', coerce=int ) |
|
|
closed_by = SelectField(u'Assigné à', coerce=int ) |
|
|
due_date = DateField(u'Date prévue', format='%d/%m/%Y') |
|
|
due_date = DateField(u'Date prévue', format='%d/%m/%Y') |
|
|