--- a/web/views/basecontrollers.py Thu May 28 20:05:54 2009 +0200
+++ b/web/views/basecontrollers.py Thu May 28 20:06:45 2009 +0200
@@ -22,9 +22,9 @@
from cubicweb.view import STRICT_DOCTYPE, STRICT_DOCTYPE_NOEXT
from cubicweb.common.mail import format_mail
from cubicweb.web import ExplicitLogin, Redirect, RemoteCallFailed, json_dumps
-from cubicweb.web.formrenderers import FormRenderer
from cubicweb.web.controller import Controller
from cubicweb.web.views import vid_from_rset
+from cubicweb.web.views.formrenderers import FormRenderer
try:
from cubicweb.web.facet import (FilterRQLBuilder, get_facet,
prepare_facets_rqlst)
@@ -340,7 +340,7 @@
entity=entity)
form.form_build_context()
vfield = form.field_by_name('value')
- renderer = FormRenderer()
+ renderer = FormRenderer(self.req)
return vfield.render(form, renderer, tabindex=tabindex) \
+ renderer.render_help(form, vfield)