On Wednesday, September 5, 2012 2:46:49 AM UTC-4, Yebach wrote:
>
> Thank you for your fast reply
>
> With main page function you mean I include them in my mainpage.py 
> contorler?


It depends exactly where you want the forms. If on every page, then you 
need to define in a model and include in the layout. If just on the home 
page, then define the forms in the function for that page.

Another option is to include the forms in an Ajax component -- see 
http://web2py.com/books/default/chapter/29/12#Components. 
 

> OR do I just do a check if user is logged in and show the proper one if he 
> is?
>

If the user is logged in, presumably they won't need either form, right?

Anthony

-- 



Reply via email to