2009/8/31 Ionut Matei <johnu...@gmail.com>

> This should do it:
> <div class="errormsg" tal:condition="errmsg eq 'unknonwn_user'">
>     Your username is unknown
> </div>

Sorry, I was wrong, I should have added "php:"
http://phptal.org/manual/en/split/conditional.html  -- it says: "*These
operators can be used only in php: expressions. *"

<div class="errormsg" tal:condition="php: errmsg eq 'unknonwn_user'">
    Your username is unknown
PHPTAL mailing list

Reply via email to