--- a/web/views/autoform.py Fri Sep 25 11:57:31 2009 +0200
+++ b/web/views/autoform.py Fri Sep 25 11:57:35 2009 +0200
@@ -131,7 +131,8 @@
targettype = targettypes[0]
if self.should_inline_relation_form(rschema, targettype, role):
entity = self._cw.vreg['etypes'].etype_class(targettype)(self._cw)
- subform = self._cw.vreg['forms'].select('edition', self._cw, entity=entity)
+ subform = self._cw.vreg['forms'].select('edition', self._cw,
+ entity=entity)
if subform.form_needs_multipart:
return True
return False