This is the base file
<li>{{block page_title}}{{end}}</li>

This is the basics of the file that has the block that overwrites.
{{block page_title}}
History
{{end}}
{{extend 'base_layout.html'}}

It worked, except that I get the "History" in both places.  Where the block 
is in the li and above the except line.

On Saturday, December 12, 2015 at 2:31:24 PM UTC+2, Encompass solutions 
wrote:
>
> It seems that I have a block in my main layout but when I insert a block 
> in the included view it print the text where it stands as well as replace 
> the item in the block.
> What am I doing wrong, or is this a bug?
> 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.

Reply via email to