[web2py] Bug with Blocks

2015-06-09 Thread Jason (spot) Brower
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

Re: [web2py] Bug with Blocks

2015-06-09 Thread Richard Vézina
Hello Jason, There is this issue open : https://github.com/web2py/web2py/issues/772 Though, I am not sure I understand you issue... Richard On Tue, Jun 9, 2015 at 3:07 AM, Jason (spot) Brower encomp...@gmail.com wrote: I think I found a bug with blocks. In my base_layout.html li{{block

Re: [web2py] Bug with Blocks

2015-06-09 Thread Jason (spot) Brower
confused with the post, it will have to be at a different day. :) I solved my issue by putting the block with the new content before the extend on the page. Weird as it is, when you do that it won't print the content in the place it was but only in the block locations defined. I suppose that was