Re: preventing escaping of less-than and greater-thans in tal:replace

Charlie Clark <[email protected]> Mon, 14 Aug 2006 20:59:28 +0200
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
Am 14.08.2006 um 20:36 schrieb Don Morrison:

> I refactored some...
>
>    <select name=3D"task" tabindex=3D"2" onchange=3D"ifnew_showdiv=20
> ('new_task')">
>
>      <option tal:repeat=3D"record task_list"
>              tal:attributes=3D"label record/name; value record/id" =20
> tal:content=3D"record/name">
>      Example Option
>      </option>
>
>      <option label=3D"New" value=3D"New">New</option>
>    </select>

No need for the <div> to loop and no need to wrap you variable names =20
in cryptic abbreviations.

Charlie

Charlie Clark
Helmholtzstr. 20
D=FCsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226