web/views/formrenderers.py
changeset 4073 03681ba6da0b
parent 4023 eae23c40627a
child 4075 e710f4052bd6
--- a/web/views/formrenderers.py	Wed Dec 09 12:20:05 2009 +0100
+++ b/web/views/formrenderers.py	Wed Dec 09 12:23:31 2009 +0100
@@ -362,7 +362,7 @@
         attrs_fs_label = ''
         if self.main_form_title:
             attrs_fs_label += ('<div class="iformTitle"><span>%s</span></div>'
-                               % self.req._(self.main_form_title))
+                               % self._cw._(self.main_form_title))
         attrs_fs_label += '<div class="formBody">'
         return attrs_fs_label + super(EntityFormRenderer, self).open_form(form, values)