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
</div>
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to