Commit b4ef51d2 authored by Ivan Tyagov's avatar Ivan Tyagov

LabelWidget should have same API as rest ot Widgets.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26910 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9bb46069
......@@ -1144,7 +1144,7 @@ class LabelWidget(Widget):
width=20, height=3,
required=0)
def render(self, field, value, REQUEST=None, render_prefix=None):
def render(self, field, key, value, REQUEST=None, render_prefix=None):
return render_element("div",
css_class=field.get_value('css_class'),
contents=field.get_value('default'))
......
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