web/views/workflow.py
branchstable
changeset 3953 19aefd78f61b
parent 3948 24a25b676671
child 3957 4a71754bf5eb
--- a/web/views/workflow.py	Tue Dec 01 08:38:02 2009 +0100
+++ b/web/views/workflow.py	Tue Dec 01 08:43:37 2009 +0100
@@ -53,8 +53,8 @@
             'st1': entity.printable_state,
             'st2': self.req._(transition.destination().name)}
         self.w(u'<p>%s</p>\n' % msg)
-        self.w(form.form_render(wf_info_for=entity.eid,
-                                by_transition=transition.eid))
+        self.w(form.render(formvalues=dict(wf_info_for=entity.eid,
+                                           by_transition=transition.eid)))
 
     def redirectpath(self, entity):
         return entity.rest_path()