web/formfields.py
branchstable
changeset 3575 4123323acaea
parent 3574 f179ccbd13e6
child 3589 a5432f99f2d9
child 3689 deb13e88e037
--- a/web/formfields.py	Tue Oct 06 17:45:10 2009 +0200
+++ b/web/formfields.py	Tue Oct 06 17:49:42 2009 +0200
@@ -576,8 +576,6 @@
                                                                 skip_meta_attr=False)
         return fieldclass(**kwargs)
     kwargs['role'] = role
-    if role == 'object': # tag the type with '_object' instead of the type
-        kwargs['label'] = (eschema.type, rschema.type + '_object')
     return RelationField.fromcardinality(card, **kwargs)