I think you should not do this, do this kinf of logic on controller, model
or module.

On Wed, May 30, 2012 at 11:08 AM, BlueShadow <kevin.bet...@gmail.com> wrote:

> Hi I like to put a for-loop in a try except clause in an html file.
> My problem is that the pass from the for loop terminates the try block.
> {{try:}}
> {{for x in db.test}}
> {{=x.title}}
> {{pass}}
> {{except:}}
> no database entries
> {{pass}}
>
>
>


-- 

Bruno Rocha
[http://rochacbruno.com.br]

Reply via email to