web/views/workflow.py
changeset 3524 a3431f4e2f40
parent 3503 06bced8edddf
parent 3513 c002f6488631
child 3659 993997b4b41d
--- a/web/views/workflow.py	Mon Sep 28 16:39:10 2009 +0200
+++ b/web/views/workflow.py	Tue Sep 29 15:58:44 2009 +0200
@@ -83,7 +83,7 @@
         subform = self._cw.vreg['forms'].select('edition', self._cw, entity=trinfo,
                                             mainform=False)
         subform.field_by_name('by_transition').widget = fwdgs.HiddenInput()
-        form.form_add_subform(subform)
+        form.add_subform(subform)
         self.w(form.form_render(wf_info_for=entity.eid,
                                 by_transition=transition.eid))