Mercurial > genshi > mirror
diff examples/tutorial/geddit/templates/comment.html @ 625:abad7c2ebe15 trunk
GenshiTutorial: implemented AJAX commenting.
author | cmlenz |
---|---|
date | Fri, 31 Aug 2007 17:01:00 +0000 |
parents | 734fbb77b579 |
children | f779e566884d |
line wrap: on
line diff
--- a/examples/tutorial/geddit/templates/comment.html +++ b/examples/tutorial/geddit/templates/comment.html @@ -13,24 +13,6 @@ at ${comment.time.strftime('%x %X')}: <blockquote>${comment.content}</blockquote> </p> - <form action="" method="post"> - <table summary=""><tbody><tr> - <th><label for="username">Your name:</label></th> - <td> - <input type="text" id="username" name="username" /> - <span py:if="'username' in errors" class="error">${errors.username}</span> - </td> - </tr><tr> - <th><label for="comment">Comment:</label></th> - <td> - <textarea id="comment" name="content" rows="6" cols="50"></textarea> - <span py:if="'content' in errors" class="error"><br />${errors.content}</span> - </td> - </tr></tbody></table> - <div> - <input type="submit" value="Submit" /> - <input type="submit" name="cancel" value="Cancel" /> - </div> - </form> + <xi:include href="_form.html" /> </body> </html>