All pastes #1186326 Raw Edit

Something

public text v1 · immutable
#1186326 ·published 2008-08-27 13:38 UTC
rendered paste body
    <py:def function="test_function()">foo</py:def>
    <div>
      <py:choose>
	<py:when test="test_function() == 'foo'">
	  ${test_function()}
	</py:when>
	<py:otherwise>not foo</py:otherwise>
      </py:choose>
    </div>