Mercurial > genshi > mirror
annotate examples/tutorial/geddit/templates/comment.html @ 621:734fbb77b579 trunk
Use system default date/time format in templates.
author | cmlenz |
---|---|
date | Thu, 30 Aug 2007 19:09:28 +0000 |
parents | 756e7418e10c |
children | abad7c2ebe15 |
rev | line source |
---|---|
611
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
1 <!DOCTYPE html> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
2 <html xmlns="http://www.w3.org/1999/xhtml" |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
3 xmlns:xi="http://www.w3.org/2001/XInclude" |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
4 xmlns:py="http://genshi.edgewall.org/"> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
5 <xi:include href="layout.html" /> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
6 <head> |
619
756e7418e10c
GenshiTutorial: various updates to sync with wiki page.
cmlenz
parents:
616
diff
changeset
|
7 <title>Comment on “${link.title}”</title> |
611
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
8 </head> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
9 <body> |
619
756e7418e10c
GenshiTutorial: various updates to sync with wiki page.
cmlenz
parents:
616
diff
changeset
|
10 <h1>Comment on “${link.title}”</h1> |
611
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
11 <p py:if="comment"> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
12 In reply to <strong>${comment.username}</strong> |
621 | 13 at ${comment.time.strftime('%x %X')}: |
611
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
14 <blockquote>${comment.content}</blockquote> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
15 </p> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
16 <form action="" method="post"> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
17 <table summary=""><tbody><tr> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
18 <th><label for="username">Your name:</label></th> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
19 <td> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
20 <input type="text" id="username" name="username" /> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
21 <span py:if="'username' in errors" class="error">${errors.username}</span> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
22 </td> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
23 </tr><tr> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
24 <th><label for="comment">Comment:</label></th> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
25 <td> |
616
8ada29c99c0d
GenshiTutorial: use form filler on comment/reply views.
cmlenz
parents:
611
diff
changeset
|
26 <textarea id="comment" name="content" rows="6" cols="50"></textarea> |
611
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
27 <span py:if="'content' in errors" class="error"><br />${errors.content}</span> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
28 </td> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
29 </tr></tbody></table> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
30 <div> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
31 <input type="submit" value="Submit" /> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
32 <input type="submit" name="cancel" value="Cancel" /> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
33 </div> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
34 </form> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
35 </body> |
236c351928a2
Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff
changeset
|
36 </html> |