Hi,
I've just started to learning Web2py and I've found something strange for
me. Could you please let me know if its me doing something wrong or its a
Web2py limitation?
I have some view (lets say: index.html) extending layout.html. But in
layout.html I use "include 'layout_body.html'. Now the problem: if I put
{{include}} in the layout_body.html instead of layout.html it's not working.
The structure looks like:
index.html --> (extend) layout.html --> (include 'layout_body.html)
layout_body.html --> {{include}}
The final {{include}} is not executed...
In other words it seems that the {{include}} works only if put in the root
of the layout tree that is directly extended...
Let me know please if its known limitation or I am doing something wrong.
It's not a problem anyway - I can live without such functionality ;) however
it's 'nice to have' and I dont see any reason for such limits..
thanks alot!
Adam