Also, simply doing form=auth() will produce a login form if the first arg in the URL (i.e., request.args(0)) is "login". The user() function in the default.py controller of the "welcome" app works this way.
form=auth() will generate different auth forms depending on the value of request.args(0) (i.e., login, register, profile, etc.). Anthony On Wednesday, April 25, 2012 9:19:27 AM UTC-4, Massimo Di Pierro wrote: > > form=auth.login() > > On Wednesday, 25 April 2012 04:53:52 UTC-5, Vibhor Purandare wrote: >> >> >> How to create log In form in web2py >> >