Mercurial > genshi > mirror
diff examples/tutorial/geddit/controller.py @ 616:8ada29c99c0d trunk
GenshiTutorial: use form filler on comment/reply views.
author | cmlenz |
---|---|
date | Wed, 29 Aug 2007 20:51:39 +0000 |
parents | 06165fee45ab |
children | b6706f9346ac |
line wrap: on
line diff
--- a/examples/tutorial/geddit/controller.py +++ b/examples/tutorial/geddit/controller.py @@ -83,7 +83,7 @@ errors = {} return template.render(submission=submission, comment=None, - errors=errors) + errors=errors) | HTMLFormFiller(data=data) @cherrypy.expose @template.output('comment.html') @@ -107,7 +107,7 @@ errors = {} return template.render(submission=submission, comment=comment, - errors=errors) + errors=errors) | HTMLFormFiller(data=data) def main(filename):