On 21 August 2011 21:01, Gustavo Fonseca <gustavof...@gmail.com> wrote: > I think it would be something like: > <li class="defaultClass" tal:attributes="class 'selectedClass' if a==b > else 'default' ">
Except there should be no quotes around ``default`` (it's a special variable name, not a string). \malthe -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.