should be auth.settings.formstyle='divs' form=auth()
you cannot set the formstyle after the form is created. On Jan 25, 10:33 am, Anthony <[email protected]> wrote: > On Tuesday, January 25, 2011 10:41:02 AM UTC-5, David J wrote: > > I still cant seem to change the default view from 'table3cols' to 'divs' > > > I tried editing the controller and > > > form = auth() > > form.formstyle = 'divs' > > > But I still get the table 3 cols layout. > > Maybe someone else can explain why the above doesn't work, but as an > alternative, have you tried: > > auth.settings.formstyle = 'divs' > form = auth() > > This sets the auth formstyle before the call to auth() creates the form > (like crud.settings.formstyle). > Seehttp://web2py.com/book/default/chapter/08?search=formstyle. > > Anthony

