Hi Bruno, it sure definitely helps...thanks a lot!!
On Thu, Mar 1, 2012 at 01:55, Bruno Rocha <[email protected]> wrote:
> Dont know if it helps, but note that you can enclose HTML as a function.
>
> views/my_html_functions.html
>>
>> {{def my_html_block(args):}}
>> {{if args.....:}}
>> <tag></tag>
>> {{pass}}
>> {{=DIV(UL(LI()))}}
>> <tag></tag>
>> <tag></tag>
>> <tag></tag>
>> {{return}}
>>
>
>
> views/anyfile.html
>>
>> {{extend "layout.html"}}
>> {{include "my_html_functions.html"}}
>>
>> <div>
>> {{my_html_blog(args)}}
>> </div>
>>
>
>
> Note that when calling that function you do not need to use {{=}}
>