missing new renderer argument
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 31 Jul 2009 10:42:15 +0200
changeset 2585 d84ea8753290
parent 2584 da978b98a762
child 2586 879912fe94e1
missing new renderer argument
web/views/cwproperties.py
--- a/web/views/cwproperties.py	Fri Jul 31 07:57:14 2009 +0200
+++ b/web/views/cwproperties.py	Fri Jul 31 10:42:15 2009 +0200
@@ -260,7 +260,7 @@
 
 class PlaceHolderWidget(object):
 
-    def render(self, form, field):
+    def render(self, form, field, renderer):
         domid = form.context[field]['id']
         # empty span as well else html validation fail (label is refering to
         # this id)
@@ -273,7 +273,7 @@
         self.value = value
         self.msg = msg
 
-    def render(self, form, field):
+    def render(self, form, field, renderer):
         domid = form.context[field]['id']
         value = '<span class="value" id="%s">%s</span>' % (domid, self.value)
         if self.msg: