Retour à la liste
% if 'uid' in form._fields.keys():
Supprimer cette tâche
%endif
% if 'uid' in form._fields.keys():
Editer une tâche
% else:
Ajouter une tâche
%endif
<%
DicForm = {
'name': {'PlaceHolder':u"Nom de la tâche", "FieldStyle":"width:90%;" },
'area_uid': {"FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" },
'closed_by': {"FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" },
'due_date': {'PlaceHolder':u"27/11/2017", "FieldStyle":"width:8em;"},
'description': {'PlaceHolder':u"Description", "FieldStyle":"width:95%;min-height:150px;", "ckeditor":"1" },
}
%>
% if 'uid' in form._fields.keys():
% if 'uid' in form._fields.keys():
${helpers.uploader("tasks", form.uid.data, u"une pièce jointe" )}
%endif