On Fri, Sep 05, 2008 at 12:28:39PM +0200, Mathias Jacob wrote:

> <!-- start <tal:block tal:content="structure color" /> box -->
> <div class="panel-<tal:block tal:content="structure color" />"></div>
> <!-- end <tal:block tal:content="structure color" /> box -->

<div class="somedefault" tal:attributes="class class|default">...</div>

then call it with 

<metal:macro tal:define="class string:someotherclass" 
metal:use-macro="somemacro" />

-- 
cu

Attachment: pgpI9GiUEZXNo.pgp
Description: PGP signature

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to