web/views/editforms.py
changeset 4366 d51f28ba9399
parent 4365 e2d26ff8f13b
child 4378 785c56bdacc6
--- a/web/views/editforms.py	Tue Jan 26 13:34:12 2010 +0100
+++ b/web/views/editforms.py	Tue Jan 26 13:36:55 2010 +0100
@@ -590,6 +590,7 @@
     form = None # no actual form wrapped
 
     def call(self, i18nctx, **kwargs):
+        self._cw.set_varmaker()
         divid = "addNew%s%s%s:%s" % (self.etype, self.rtype, self.role, self.peid)
         self.w(u'<div class="inlinedform" id="%s" cubicweb:limit="true">'
           % divid)