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

"Don Morrison" <[email protected]> Mon, 14 Aug 2006 12:10:27 -0700
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
> Well, you will hit problems with your define because that will run
> before your repeat. Remove it and be happy.


Ah thanks, that's much better. :)

    <select name="task" tabindex="2" onchange="ifnew_showdiv('new_task')">
      <option tal:repeat="record task_list"
              tal:attributes="label record/name; value record/task_id"
tal:content="record/name">
      Example Option
      </option>
      <option label="New" value="New">New</option>
    </select>