diff options
Diffstat (limited to 'src/zope/pagetemplate/tests/input/dtml3.html')
-rw-r--r-- | src/zope/pagetemplate/tests/input/dtml3.html | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/zope/pagetemplate/tests/input/dtml3.html b/src/zope/pagetemplate/tests/input/dtml3.html new file mode 100644 index 0000000..d3c84b2 --- /dev/null +++ b/src/zope/pagetemplate/tests/input/dtml3.html @@ -0,0 +1,33 @@ +<head><title>Test of documentation templates</title></head> +<body> + <div tal:condition="options/content/args"> + The arguments were: + <span tal:condition="options/batch/previous_sequence"> + (<span + tal:replace="options/batch/previous_sequence_start_item" + >previous start item</span>-<span + tal:replace="options/batch/previous_sequence_end_item" + >previous end item</span>) + </span> + <dl> + <span tal:repeat="arg options/batch"> + <dt><span tal:replace="arg">??</span>.</dt> + <dd>Argument <span tal:define="num arg/num" + tal:replace="string: $num" + >99</span> was <span tal:replace="arg" + >??</span></dd> + </span> + </dl> + <span tal:condition="options/batch/next_sequence"> + (<span + tal:replace="options/batch/next_sequence_start_item" + >next start item</span>-<span + tal:replace="options/batch/next_sequence_end_item" + >next end item</span>) + </span> + </div> + <p tal:condition="not:options/content/args"> + No arguments were given. + </p> + And I am 100% sure! +</body> |