--- a/web/views/autoform.py Thu Oct 21 17:54:51 2010 +0200
+++ b/web/views/autoform.py Thu Oct 21 17:55:23 2010 +0200
@@ -267,9 +267,9 @@
self._cw.data[countkey] += 1
except KeyError:
self._cw.data[countkey] = 1
- self.w(self.form.render(
- divid=divid, title=title, removejs=removejs, i18nctx=i18nctx,
- counter=self._cw.data[countkey] , **kwargs))
+ self.form.render(w=self.w, divid=divid, title=title, removejs=removejs,
+ i18nctx=i18nctx, counter=self._cw.data[countkey] ,
+ **kwargs)
def form_title(self, entity, i18nctx):
return self._cw.pgettext(i18nctx, entity.__regid__)