web/views/autoform.py
changeset 4518 5690bf6d6081
parent 4467 0e73d299730a
child 4519 cce343c7d18a
--- a/web/views/autoform.py	Tue Feb 09 12:41:44 2010 +0100
+++ b/web/views/autoform.py	Tue Feb 09 12:54:44 2010 +0100
@@ -32,11 +32,6 @@
 
 class InlinedFormField(ff.Field):
     def __init__(self, view=None, **kwargs):
-        if view.role == 'object':
-            fieldset = u'%s_object%s' % view.rtype
-        else:
-            fieldset = view.rtype
-        #kwargs.setdefault('fieldset', fieldset)
         kwargs.setdefault('label', None)
         super(InlinedFormField, self).__init__(name=view.rtype, role=view.role,
                                                eidparam=True, **kwargs)