now that we are property initializing autoform_section for the 'inlined' form type, use it...
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 Jan 2010 13:34:12 +0100
changeset 4365 e2d26ff8f13b
parent 4364 766359c69f2f
child 4366 d51f28ba9399
now that we are property initializing autoform_section for the 'inlined' form type, use it...
web/views/editforms.py
--- a/web/views/editforms.py	Tue Jan 26 13:32:54 2010 +0100
+++ b/web/views/editforms.py	Tue Jan 26 13:34:12 2010 +0100
@@ -478,6 +478,7 @@
         entity = self._entity()
         form = self._cw.vreg['forms'].select('edition', self._cw,
                                              entity=entity,
+                                             formtype='inlined',
                                              form_renderer_id='inline',
                                              copy_nav_params=False,
                                              mainform=False,