Mercurial > hg > Blog
view themes/tuxlite_tbs/templates/simple_comments.html @ 10:bd8e75de187a
use the simple_comments plugin instead of juvia now
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 15 Jul 2013 11:43:18 +0200 |
parents | |
children | bb1f035109da |
line wrap: on
line source
{% if article.comments %} {% for comment in article.comments %} <div style="border-bottom: 1px dotted #CCCCCC; padding: 20px 0px 20px 0px;"> <div style="font-weight: bold;"> {{ comment.Author }} </div> <div style="font-size: 80%; padding: 0px 0px 10px 0px;"> {{ comment.Date }} </div> <div> {{ comment.text }} </div> </div> {% endfor %} {% endif %} <div style="padding: 20px 0px 0px 0px;"> <div style="font-size: 120%;"> Leave a comment </div> <form action="http://xanthippe.dyndns.org/blog-comments/simple_comments.php" method="POST"> <input type="hidden" name="Slug" value="{{ article.slug }}"> <div style="padding: 10px 0px 0px 0px;"> Your name: <input type="text" name="Author"> </div> <div> <textarea rows="5" cols="60" name="Comment"></textarea> </div> <div> <input type="submit" value="Submit"> </div> </form> </div>