Re: [web2py] Re: Formatting SQLFORM.factory

2011-06-25 Thread al ex
Thank you. It worked, On Sun, Jun 26, 2011 at 11:22 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Try > > form=SQLFORM.factory( Field('address', label=T('Address')), > formstyle='table2cols') > > > > > On Jun 25, 11:59 pm, alex wrote: > > Hi all, > > > > In a SQLFORM.factory gene

[web2py] Re: Formatting SQLFORM.factory

2011-06-25 Thread Massimo Di Pierro
Try form=SQLFORM.factory( Field('address', label=T('Address')), formstyle='table2cols') On Jun 25, 11:59 pm, alex wrote: > Hi all, > > In a SQLFORM.factory generated form I want to have the labels on top > of the fields. > > form=SQLFORM.factory( Field('address', label=T('Address')),) > > Any