From 086232adaa470914ecd3dcaed794e81ddfd55c0f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 28 Jan 2009 07:54:22 +0000 Subject: [PATCH] fixed fields in dataforms don't have multiple elements. see #3200 --- src/common/dataforms.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/common/dataforms.py b/src/common/dataforms.py index ed1b199ab..edfa4030a 100644 --- a/src/common/dataforms.py +++ b/src/common/dataforms.py @@ -59,8 +59,7 @@ def Field(typ, **attrs): ''' Helper function to create a field of given type. ''' f = { 'boolean': BooleanField, - # not editable, still can have multiple lines of text - 'fixed': TextMultiField, + 'fixed': StringField, 'hidden': StringField, 'text-private': StringField, 'text-single': StringField, @@ -80,7 +79,7 @@ def ExtendField(node): typ=node.getAttr('type') f = { 'boolean': BooleanField, - 'fixed': TextMultiField, + 'fixed': StringField, 'hidden': StringField, 'text-private': StringField, 'text-single': StringField,