|
|
@@ -39,12 +39,12 @@ TabJs = {'select':[], 'desc':[]} |
|
|
|
<% |
|
|
|
PlaceHolder = DicFormat[Field.name].get("PlaceHolder") |
|
|
|
FieldStyle = DicFormat[Field.name].get("FieldStyle") |
|
|
|
Class = [None,"ckeditor"][ DicFormat[Field.name].has_key("ckeditor") ] |
|
|
|
Class = [False,"ckeditor"][ "ckeditor" in DicFormat[Field.name] ] |
|
|
|
%> |
|
|
|
% if PlaceHolder: |
|
|
|
${Field(placeholder=PlaceHolder, style=FieldStyle, class_=Class)} |
|
|
|
% if Field.type == "DateField": |
|
|
|
${Field(placeholder=PlaceHolder or False, style=FieldStyle, class_=Class, type = "date")} |
|
|
|
% else: |
|
|
|
${Field(style=FieldStyle, class_=Class)} |
|
|
|
${Field(placeholder=PlaceHolder or False, style=FieldStyle, class_=Class)} |
|
|
|
% endif |
|
|
|
% else: |
|
|
|
${Field()} |
|
|
|