# -*- coding: utf-8 -*- <%inherit file="jm2l:templates/layout.mako"/> <%namespace name="helpers" file="jm2l:templates/helpers.mako"/> <%def name="jsAddOn()"> <%def name="cssAddOn()"> Retour à la liste % 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': {'PlaceHolder':u"Pôle", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, 'closed_by': {'PlaceHolder':u"Assigné à", "FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, 'due_date': {'PlaceHolder':u"27/11/2015", "FieldStyle":"width:8em;"}, 'description': {'PlaceHolder':u"Description", "FieldStyle":"width:95%;min-height:150px;", "ckeditor":"1" }, } %> % if 'uid' in form._fields.keys():
${form.uid()} %else: %endif ${helpers.DisplayForm(form, DicForm)}
% if 'uid' in form._fields.keys(): ${helpers.uploader("tasks", form.uid.data, u"Attachement" )} %endif