Not sure it a issue.

I can do this :

db.table1.approved.represent=\
    lambda value: value==True and 'Approved' or 'Not approved'

Richard

On Wed, Dec 1, 2010 at 10:59 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:

> Please submit a bug report about this on http://code.google.com/p/web2py/
> and I will take care of it asap.
>
> massimo
>
> On Dec 1, 9:17 am, Richard Vézina <ml.richard.vez...@gmail.com> wrote:
> > Hello,
> >
> > How can I represent the boolean in crud.read form by an unselectable
> > checkbox instead of True or False?
> >
> > Is it a job for the widget :
> > SQLFORM<http://web2py.com/book/default/docstring/SQLFORM>
> > .widgets.boolean.widget?
> >
> > Richard

Reply via email to