On Feb 13, 3:34 am, blackthorne <francisco....@gmail.com> wrote: > How can I generate, in a single page, both login and register forms > since Auth() seems to generate them according the URL passed?
All you need in the view is: {{=form}} I prefix mine with this to make it more user-friendly, which you can adapt as you like: <h2> {{if request.args[0]=='login':}} Login {{elif request.args[0]=='register':}} Register {{elif request.args[0]=='profile':}} Profile {{pass}} </h2> F --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---