Commit c302b569 authored by Fabien Morin's avatar Fabien Morin

fix a mistake : self should not be passed has a parameter

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34982 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 08f7a209
......@@ -15,9 +15,9 @@ class HyperLinkWidget(LabelWidget):
required=1)
def render(self, field, key, value, REQUEST, render_prefix=None):
return self.render_view(self, field, value, REQUEST, render_prefix)
return self.render_view(field, value, REQUEST, render_prefix)
def render_view(self, field, value, REQUEST, render_prefix=None):
def render_view(self, field, value, REQUEST=None, render_prefix=None):
return render_element("a",
href=field.get_value('href'),
css_class=field.get_value('css_class'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment