[web2py] Re: DIV Helper and Include

2011-10-15 Thread Massimo Di Pierro
The problem is that {{include}} {{extend}} and {{block}} are not python keywords and they are reseolved before python is executed, therefore they cannot be included in Python. This can be changed in the future. You may want to open a ticket suggesting an improvement. Yet It would not be easy. On O

Re: [web2py] Re: DIV Helper and Include

2011-10-15 Thread Miroslav Gojic
Thanks I was play wit that that half day ... - - Miroslav Gojic - - On Sat, Oct 15, 2011 at 16:54, Massimo Di Pierro wrote: > Not possible. > > On Oct 15, 6:05 am, miroslavgojic wrote: >> {{=HTML(HEAD(),BODY(DIV(DIV('Header',_id='header'),DIV(include,_id='content >> '),DIV('Footer',_id='fo

[web2py] Re: DIV Helper and Include

2011-10-15 Thread Massimo Di Pierro
Not possible. On Oct 15, 6:05 am, miroslavgojic wrote: > {{=HTML(HEAD(),BODY(DIV(DIV('Header',_id='header'),DIV(include,_id='content > '),DIV('Footer',_id='footer'),_id='site')),doctype='html5', > lang='sr')}} > > This was my idea to create template with HTML helpers > > On Oct 15, 11:42 am, mir

[web2py] Re: DIV Helper and Include

2011-10-15 Thread miroslavgojic
{{=HTML(HEAD(),BODY(DIV(DIV('Header',_id='header'),DIV(include,_id='content'),DIV('Footer',_id='footer'),_id='site')),doctype='html5', lang='sr')}} This was my idea to create template with HTML helpers On Oct 15, 11:42 am, miroslavgojic wrote: > How to make {{include}} to work in DIV Helper >