Mercurial > hg > Blog
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 9:6e2bcaecf3ec | 10:bd8e75de187a |
|---|---|
| 1 {% if article.comments %} | |
| 2 {% for comment in article.comments %} | |
| 3 <div style="border-bottom: 1px dotted #CCCCCC; padding: 20px 0px 20px 0px;"> | |
| 4 <div style="font-weight: bold;"> | |
| 5 {{ comment.Author }} | |
| 6 </div> | |
| 7 <div style="font-size: 80%; padding: 0px 0px 10px 0px;"> | |
| 8 {{ comment.Date }} | |
| 9 </div> | |
| 10 <div> | |
| 11 {{ comment.text }} | |
| 12 </div> | |
| 13 </div> | |
| 14 {% endfor %} | |
| 15 {% endif %} | |
| 16 <div style="padding: 20px 0px 0px 0px;"> | |
| 17 <div style="font-size: 120%;"> | |
| 18 Leave a comment | |
| 19 </div> | |
| 20 <form action="http://xanthippe.dyndns.org/blog-comments/simple_comments.php" method="POST"> | |
| 21 <input type="hidden" name="Slug" value="{{ article.slug }}"> | |
| 22 <div style="padding: 10px 0px 0px 0px;"> | |
| 23 Your name: <input type="text" name="Author"> | |
| 24 </div> | |
| 25 <div> | |
| 26 <textarea rows="5" cols="60" name="Comment"></textarea> | |
| 27 </div> | |
| 28 <div> | |
| 29 <input type="submit" value="Submit"> | |
| 30 </div> | |
| 31 </form> | |
| 32 </div> |
