You'll also want to set auth.settings.formstyle I've built a form style, placed it in a model (style.py), and then set response.formstyle and auth.settings.formstyle
On Tuesday, 25 October 2016 15:52:12 UTC+1, Marko Seppälä wrote: > > Hi, > > I'm trying to set custom form styles for auth, like register or login > form. I would like to set completely new formstyle function for that, so > that it's easy to use over and over again just setting formstyle = > my_formstyle in appconfig.ini. > > How I could do that? I can use formstyle_bootstrap3_inline_factory > from sqlhtml.py as a starting point for my own function. But where should I > put that function? And how to tell web2py where to look for that function? > Obviously I don't want to touch original source code. > > Thanks! > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.