--- a/web/views/editforms.py Thu Sep 24 00:23:32 2009 +0200
+++ b/web/views/editforms.py Thu Sep 24 00:24:21 2009 +0200
@@ -297,8 +297,9 @@
def render_form(self, entity):
"""fetch and render the form"""
self.form_title(entity)
- form = self._cw.vreg['forms'].select('edition', self._cw, rset=entity.rset,
- row=entity.row, col=entity.col, entity=entity,
+ form = self._cw.vreg['forms'].select('edition', self._cw, rset=entity.cw_rset,
+ row=entity.cw_row, col=entity.cw_col,
+ entity=entity,
submitmsg=self.submited_message())
self.init_form(form, entity)
self.w(form.form_render(formvid=u'edition'))