|
@@ -24,8 +24,8 @@ |
|
|
<% |
|
|
<% |
|
|
DicForm = { |
|
|
DicForm = { |
|
|
'name': {'PlaceHolder':u"Nom de la tâche", "FieldStyle":"width:90%;" }, |
|
|
'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;" }, |
|
|
|
|
|
|
|
|
'area_uid': {"FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, |
|
|
|
|
|
'closed_by': {"FieldStyle":"width:16em;", 'ContainerStyle':"float:left;" }, |
|
|
'due_date': {'PlaceHolder':u"27/11/2015", "FieldStyle":"width:8em;"}, |
|
|
'due_date': {'PlaceHolder':u"27/11/2015", "FieldStyle":"width:8em;"}, |
|
|
'description': {'PlaceHolder':u"Description", "FieldStyle":"width:95%;min-height:150px;", "ckeditor":"1" }, |
|
|
'description': {'PlaceHolder':u"Description", "FieldStyle":"width:95%;min-height:150px;", "ckeditor":"1" }, |
|
|
} |
|
|
} |
|
@@ -38,7 +38,7 @@ DicForm = { |
|
|
<form action="/Staff/tasks" method="post"> |
|
|
<form action="/Staff/tasks" method="post"> |
|
|
%endif |
|
|
%endif |
|
|
${helpers.DisplayForm(form, DicForm)} |
|
|
${helpers.DisplayForm(form, DicForm)} |
|
|
<input type="submit" class="btn btn-primary" value="Valider"></input> |
|
|
|
|
|
|
|
|
<input type="submit" class="btn btn-primary" value="Valider" /> |
|
|
</form> |
|
|
</form> |
|
|
% if 'uid' in form._fields.keys(): |
|
|
% if 'uid' in form._fields.keys(): |
|
|
${helpers.uploader("tasks", form.uid.data, u"une pièce jointe" )} |
|
|
${helpers.uploader("tasks", form.uid.data, u"une pièce jointe" )} |