Mercurial > hg > commentator
view commentator/templates/comment.html @ 0:1c95a3fa76c1
initial commit of commentator
author | k0s <k0scist@gmail.com> |
---|---|
date | Sun, 24 Jan 2010 17:39:05 -0500 |
parents | |
children | 689b9d928dc8 |
line wrap: on
line source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" xmlns:xi="http://www.w3.org/2001/XInclude" py:strip="True"> <div class="comments"> <div py:for="comment in comments" class="comment"> <a py:strip="not comment['link']" href="${comment['link']}"> ${comment['author']} </a> <p>${comment['body']}</p> </div> <form method="post" action="${action}"> <dl> <dt>Name:</dt><dd><input type="text" name="author"/></dd> <dt>URL:</dt><dd><input type="text" name="link"/></dd> <textarea name="body"></textarea> </dl> <input type="submit" value="Comment"/> </form> </div> </html>