crud.settings.formstyle='table2cols' (requires trunk but will be in stable next week).
On 9 Lug, 10:00, Jean-Guy <jean...@gmail.com> wrote: > formstyle= > > It's not working with crud?? > > The solution is ok with SQLFORM. > > Jonhy > > On 2010-07-09 10:24, mdipierro wrote: > > > If you do SQLFORM(....formstyle='table2cols') you get: > > > |Field1 Label| |Comment1| > > |Field1|Comment2| > > |Field2 Label| | > > |Field2| > > > else you can use SQLFORM(....formstyle='divs') > > > and align the divs yourself. > > > On 9 Lug, 09:18, Jean-Guy<jean...@gmail.com> wrote: > > >> Hello, > > >> I would like to change the way the grid of SQLForm or crud is presented : > > >> |Field1 Label|Field1|Comment1| > >> |Field2 Label|Field2|Comment2| > > >> I would prefer it be like this : > > >> |Field1 Label| | > >> |Field1|Comment1| > >> |Field2 Label| | > >> |Field2|Comment2| > > >> How may I change it if it is possible? > > >> Thank you! > > >> Jonhy