[web2py] Bugfix for Checkbox

2011-01-29 Thread Bernd Rothert
There is a small bug in web2py's HTML checkbox helper: >>> from gluon.html import * >>> print INPUT(_type='radio', _value=2, value='2']) >>> print INPUT(_type='checkbox', _value=2, value=['1', '2', '3']) >>> print INPUT(_type='checkbox', _value='2', value=['1', '2', '3']) It's just a missin

[web2py] Bugfix for Checkbox

2011-01-29 Thread Bernd Rothert
There is a small bug in web2py's HTML checkbox helper: from gluon.html import * print INPUT(_type='radio', _value=2, value='2']) >>> print INPUT(_type='checkbox', _value=2, value=['1', '2', '3']) >>> print INPUT(_type='checkbox', _value='2', value=['1', '2', '3']) >>> It's just a missing st