|
|
@@ -40,8 +40,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") ] |
|
|
|
%> |
|
|
|
${Field(placeholder=PlaceHolder, style=FieldStyle, class_=Class)} |
|
|
|
%> |
|
|
|
% if PlaceHolder: |
|
|
|
${Field(placeholder=PlaceHolder, style=FieldStyle, class_=Class)} |
|
|
|
% else: |
|
|
|
${Field(style=FieldStyle, class_=Class)} |
|
|
|
% endif |
|
|
|
% else: |
|
|
|
${Field()} |
|
|
|
% endif |
|
|
|