I think I found a bug with blocks.
In my base_layout.html
<li>{{block page_title}}{{end}}</li>
And this in my view file...
{{block page_title}}
Dashboard
{{end}}
This will print the replacement block in the correct location. BUT it will
also print it where ever I put it in the html.
Am I understanding the purpose of blocks wrong or is this a bug?
So if I put the block with the "Dashboard" in it at the bottom of the page
I will get it in the li tags there but also in the bottom of the page.
BR,
Jason Brower
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.