I think this post from Martin can help you >

http://martin.tecnodoc.com.ar/myblog/2011/01/10/hacking-web2py-sqlform-part-1

--

Lucas D'Avila
http://flavors.me/lucasdavila
Em 09/02/2011 16:58, "Richard Vézina" <[email protected]>
escreveu:
> use 'divs'
>
> Give:
> Form
> label1
> input1
> comment1
> label2
> input2
> comment2
> etc.
>
> That seems what you looking for...
>
> For comparaison purpose :
> table3cols will give :
> Form
> label1,input1,comment1
> etc.
>
> Richard
>
> On Wed, Feb 9, 2011 at 1:52 PM, greenpoise <[email protected]>
wrote:
>
>>
>> I am trying to align a crud form horizontally. That is with labels on
>> top, fields on bottom and they should run across horizontally on the
>> page. Is crud.settings.formstyle my answer?? Any good example out
>> there? I searched on the groups with no success...I did find some talk
>> about it but I just dont know where to code it. The book shows me
>> this:
>>
>> crud.settings.formstyle = 'table3cols' or 'table2cols' or 'divs' or
>> 'ul'
>>
>> Which I dont understand. Appreciate the help
>>
>> Thanks in advance
>>
>>
>>
>>
>>
>>
>>

Reply via email to