0
|
1 <!DOCTYPE html
|
|
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
4 <html xmlns="http://www.w3.org/1999/xhtml"
|
|
5 xmlns:py="http://genshi.edgewall.org/"
|
|
6 xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
7 py:strip="True">
|
|
8 <div class="comments">
|
|
9 <div py:for="comment in comments" class="comment">
|
|
10 <a py:strip="not comment['link']" href="${comment['link']}">
|
|
11 ${comment['author']}
|
|
12 </a>
|
|
13 <p>${comment['body']}</p>
|
|
14 </div>
|
|
15
|
|
16 <form method="post" action="${action}">
|
|
17 <dl>
|
|
18 <dt>Name:</dt><dd><input type="text" name="author"/></dd>
|
|
19 <dt>URL:</dt><dd><input type="text" name="link"/></dd>
|
|
20 <textarea name="body"></textarea>
|
|
21 </dl>
|
|
22 <input type="submit" value="Comment"/>
|
|
23 </form>
|
|
24 </div>
|
|
25 </html>
|