How about

{{extend 'layout.html'}}
<h2>Login</h2>
{{=auth.login()}}
<h2>Register</h2>
{{=auth.register()}}

On Apr 22, 3:49 pm, scausten <[email protected]> wrote:
> Hi,
>
> Bit of a noob question (sorry) but I'd like to add a page "/user/
> combinedLogin" to my app, which combines the login and register forms,
> but can't work it out. This:
>
> if request.args(0)=="login":
>     =auth.login()
>     =auth.register()
>
> works fine, but I'd like to expose a new url (/user/combinedLogin).
>
> Any ideas?
>
> Si
>
> --
> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to