[web2py] Does layout.html have a corresponding controller?

2013-05-09 Thread Bob Babby
I want to add a search bar to my all my pages. I think the best way to do 
this is by adding it to the layout.html from which all my other html views 
extend from.

The problem I can't figure out is where to put the corresponding controller 
function. For all the other views, the controller functions are in 
default.py. Where would I put the controller logic for layout.html so that 
I can begin building the form using the htmlhelpers?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[web2py] Controller for layout.html?

2013-05-09 Thread Bob Babby
Sorry if this is a repost. My last post wasn't showing up for some reason.

I want to add a search bar to all my pages. To do this I plan on adding an 
input text to layout.html (all my pages extend layout.html).

But where is the controller for layout.html so that I can build the 
htmlhelpers and then do {{=form}} in layout.html?

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.