in layout you can do:

{{if not auth.is_logged_in(): response.write(auth.login())}}

Massimo

On Sep 5, 12:41 pm, eddwinston <[email protected]> wrote:
> Hi,
>
> I want a have a case like this, the authentication form will be
> displayed on the page at all times if the user is not authenticated
> irrespective of controller/action, how do i create such a form since
> it wont be controller/action specific? Thanks.
>
> Regards
> Winston
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to