annotate examples/bench/myghty/template.myt @ 709:a7b0d320aea4

Python 2.3 compatibility fixes for transformer and (specifically for 2.3.1) i18n.
author athomas
date Sun, 06 Apr 2008 20:52:15 +0000
parents 1f4e66680f9f
children
rev   line source
320
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
1 <%args>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
2 title
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
3 items
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
4 user
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
5 </%args>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
6
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
7 <head>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
8 <title><% title %></title>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
9 </head>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
10
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
11 <&|base.myt:wrap &>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
12 <div><& base.myt:greeting, name=user &></div>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
13 <div><& base.myt:greeting, name="me"&></div>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
14 <div><& base.myt:greeting, name="world" &></div>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
15
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
16 <h2>Loop</h2>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
17 %if items:
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
18 <ul>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
19 % for item in items:
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
20 <li><% item %></li>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
21 %
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
22 </ul>
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
23 %
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
24
1f4e66680f9f Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
25 </&>
Copyright (C) 2012-2017 Edgewall Software