Thanks, got it working. I found needed to update web2py to latest version - couldn't just copy this bootstrap3 formstyle function into my current install.
On Wednesday, May 27, 2015 at 3:45:25 AM UTC+8, Niphlod wrote: > > ok, rephrasing... why is it fine in the scaffolding app and not in yours ? > > On Tuesday, May 26, 2015 at 3:59:38 PM UTC+2, Richard Penman wrote: >> >> I wasn't using the scaffolding app, just setting the formstyle and >> then checking the user login/register forms. >> >> On Sat, May 23, 2015 at 2:58 AM, Niphlod <[email protected]> wrote: >> > uhm. could you point out what are the pages of the scaffolding app >> you're >> > referring to ? they don't seem that bad to me. >> > >> > On Friday, May 22, 2015 at 4:11:32 PM UTC+2, Richard Penman wrote: >> >> >> >> I tried those bootstrap styles from latest source and they seem to >> >> work well for SQLFORM, however face problems for the non-standard >> >> features in the auth forms mentioned. >> >> >> >> On Fri, May 22, 2015 at 8:40 PM, 黄祥 <[email protected]> wrote: >> >> > the newest version of web2py that have bootstrap 3 scaffolding app, >> is >> >> > maintain in private/appconfig.ini and define the formstyle in >> >> > models/db.py >> >> > e.g. >> >> > models/db.py >> >> > response.formstyle = myconf.take('forms.formstyle') >> >> > >> >> > private/appconfig.ini >> >> > [forms] >> >> > formstyle = bootstrap3_inline >> >> > ;formstyle = bootstrap3_stacked >> >> > ;formstyle = bootstrap >> >> > ;formstyle = table3cols >> >> > ;formstyle = table2cols >> >> > ;formstyle = divs >> >> > ;formstyle = ul >> >> > >> >> > just remove the ";" to choose the formstyle u like. >> >> > >> >> > best regards, >> >> > stifan >> >> > >> >> > -- >> >> > Resources: >> >> > - http://web2py.com >> >> > - http://web2py.com/book (Documentation) >> >> > - http://github.com/web2py/web2py (Source code) >> >> > - https://code.google.com/p/web2py/issues/list (Report Issues) >> >> > --- >> >> > You received this message because you are subscribed to a topic in >> the >> >> > Google Groups "web2py-users" group. >> >> > To unsubscribe from this topic, visit >> >> > https://groups.google.com/d/topic/web2py/pjRbVAd5lt8/unsubscribe. >> >> > To unsubscribe from this group and all its topics, send an email to >> >> > [email protected]. >> >> > For more options, visit https://groups.google.com/d/optout. >> > >> > -- >> > Resources: >> > - http://web2py.com >> > - http://web2py.com/book (Documentation) >> > - http://github.com/web2py/web2py (Source code) >> > - https://code.google.com/p/web2py/issues/list (Report Issues) >> > --- >> > You received this message because you are subscribed to a topic in the >> > Google Groups "web2py-users" group. >> > To unsubscribe from this topic, visit >> > https://groups.google.com/d/topic/web2py/pjRbVAd5lt8/unsubscribe. >> > To unsubscribe from this group and all its topics, send an email to >> > [email protected]. >> > For more options, visit https://groups.google.com/d/optout. >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

