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). See 
http://web2py.com/book/default/chapter/08?search=formstyle.
 
Anthony

Reply via email to