Re: [web2py] How to put both login and register forms on one page...

2014-08-29 Thread Mark Li
The details of this problem are explained more thoroughly here: https://groups.google.com/forum/#!topic/web2py/13gozLyE3Eo On Thursday, August 28, 2014 1:11:47 PM UTC-7, Mark Li wrote: > > There seems to be a problem with this implementation > > For example, if you have > def page(): > login

Re: [web2py] How to put both login and register forms on one page...

2014-08-28 Thread Mark Li
There seems to be a problem with this implementation For example, if you have def page(): login_form = auth.login() register_form = auth.register() return dict(login_form=login_form, register_form=register_form) If you go to the page with both forms, and submit the register form with

Re: [web2py] How to put both login and register forms on one page...

2013-01-23 Thread Bruno Rocha
return dict(register=auth.register() , login=auth.login()) {{=register}} {{=login}} Em 23/01/2013 20:39, "sasogeek" escreveu: > how do I put the login and register forms on one page... so that a user is > logged in if they click the login button (if they've entered correct email > and password)

[web2py] How to put both login and register forms on one page...

2013-01-23 Thread sasogeek
how do I put the login and register forms on one page... so that a user is logged in if they click the login button (if they've entered correct email and password) and are signed up if they click the register button with form data for a new account? --