web/views/workflow.py
branchstable
changeset 6690 7d68948015ba
parent 6473 2b09a410ff8e
child 6692 bbc3f7c9f8d9
--- a/web/views/workflow.py	Fri Nov 05 17:00:41 2010 +0100
+++ b/web/views/workflow.py	Fri Nov 05 18:48:05 2010 +0100
@@ -104,7 +104,7 @@
             'st1': entity.cw_adapt_to('IWorkflowable').printable_state,
             'st2': self._cw._(transition.destination(entity).name)}
         self.w(u'<p>%s</p>\n' % msg)
-        self.w(form.render())
+        form.render(w=self.w)
 
     def redirectpath(self, entity):
         return entity.rest_path()