Commit b37b6d76 authored by Nicolas Delaby's avatar Nicolas Delaby

cosmetic

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18245 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 46b818a0
......@@ -308,17 +308,17 @@ def CheckBoxWidget_render_view(self, field, value):
"""
if value:
return render_element("input",
type="checkbox",
css_class=field.get_value('css_class'),
checked=1,
extra=field.get_value('extra'),
disabled='disabled')
type="checkbox",
css_class=field.get_value('css_class'),
checked=1,
extra=field.get_value('extra'),
disabled='disabled')
else:
return render_element("input",
type="checkbox",
css_class=field.get_value('css_class'),
extra=field.get_value('extra'),
disabled='disabled')
type="checkbox",
css_class=field.get_value('css_class'),
extra=field.get_value('extra'),
disabled='disabled')
CheckBoxWidget.render_view = CheckBoxWidget_render_view
......
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