[web2py] Re: Few controllers in the same basic layout

2013-06-04 Thread lesssugar
Yes, the direct including works like charm. On Monday, June 3, 2013 7:09:10 PM UTC+2, Anthony wrote: > > If you don't want to do an Ajax request on every page to fetch the login > form, you might consider either (a) retrieving the form via Ajax only when > the user clicks on a link/button, or (b

[web2py] Re: Few controllers in the same basic layout

2013-06-03 Thread Anthony
If you don't want to do an Ajax request on every page to fetch the login form, you might consider either (a) retrieving the form via Ajax only when the user clicks on a link/button, or (b) including the form directly in the layout (which will require changing the "action" attribute so the form

[web2py] Re: Few controllers in the same basic layout

2013-06-03 Thread lesssugar
All clear. Thank you. On Monday, June 3, 2013 5:34:55 AM UTC+2, Massimo Di Pierro wrote: > > On Sunday, 2 June 2013 17:15:55 UTC-5, lesssugar wrote: > >> OK, this might be a silly one. >> >> My app uses one main view (layout.html), which is extended by every other >> one. >> layout.html has a log

[web2py] Re: Few controllers in the same basic layout

2013-06-02 Thread Massimo Di Pierro
On Sunday, 2 June 2013 17:15:55 UTC-5, lesssugar wrote: > OK, this might be a silly one. > > My app uses one main view (layout.html), which is extended by every other > one. > layout.html has a login form included, created in default.py controller > (the form is supposed to be at hand until user