annotate examples/bench/myghty/template.myt @ 1045:d7ede0cf4735 stable-0.6.x tip

Merge r1269 from trunk (fix for selecting namespaced attributes).
author hodgestar
date Thu, 20 Mar 2014 13:01:56 +0000
parents 2295fb564250
children
rev   line source
320
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
1 <%args>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
2 title
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
3 items
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
4 user
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
5 </%args>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
6
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
7 <head>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
8 <title><% title %></title>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
9 </head>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
10
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
11 <&|base.myt:wrap &>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
12 <div><& base.myt:greeting, name=user &></div>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
13 <div><& base.myt:greeting, name="me"&></div>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
14 <div><& base.myt:greeting, name="world" &></div>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
15
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
16 <h2>Loop</h2>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
17 %if items:
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
18 <ul>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
19 % for item in items:
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
20 <li><% item %></li>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
21 %
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
22 </ul>
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
23 %
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
24
2295fb564250 Forgot to add myghty templates for [393].
cmlenz
parents:
diff changeset
25 </&>
Copyright (C) 2012-2017 Edgewall Software