Christopher Arndt schrieb:
> http://kid-templating.org/language.html#dynamic-attributes-py-attrs

Or instead of py:attrs you can also use
http://kid-templating.org/language.html#python-expression-substitution-expr

<span class="${{1:'top', 2:...}.get(myvar)}" py:content="..."/>

-- Christoph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to