Re: [web2py] How to customize widget rendering in form

2011-08-16 Thread Bruno Rocha
insert in any place before the crud creation (model or controller) crud.settings.formstyle = 'divs' On Wed, Aug 17, 2011 at 2:15 AM, Noel Villamor wrote: > I have this for a field definition: > > Field('tags','list:reference > tag',widget=SQLFORM.widgets.checkboxes.widget) > > I use crud and it

[web2py] How to customize widget rendering in form

2011-08-16 Thread Noel Villamor
I have this for a field definition: Field('tags','list:reference tag',widget=SQLFORM.widgets.checkboxes.widget) I use crud and it renders the field as an html table, as shown below: business family friend How do I customize the rendering into: business family friend Thanks in advance.