[Zope] Can ptl do this?
Chris Withers
chrisw@nipltd.com
Wed, 28 Aug 2002 13:17:22 +0100
KevinL wrote:
> Is this doable?
I don't think so using your current method.
Why have you used metal slots to do this?
How about:
<metal:block define-macro="std">
<tr tal:condition="help|nothing">
<td colspan="3" class="help">
<i tal:content="help"></i>
</td>
</tr>
<tr>
<th align="right" valign="top" tal:content="name">
</th>
<td colspan="2" class="textEntry" valign="top" tal:content="content">
</td>
</tr>
</metal:block>
...and get the values from a tal:define in the template that uses the macro?
cheers,
Chris