diff themes/tuxlite_tbs/templates/add_comment.html @ 72:c2b99e876559 pelican_comment_system

use the pelican_plugin_system from the standard pelican plugins instead of my own simple_comments
author Dirk Olmes <dirk@xanthippe.ping.de>
date Sat, 02 Jan 2016 04:47:39 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/tuxlite_tbs/templates/add_comment.html	Sat Jan 02 04:47:39 2016 +0100
@@ -0,0 +1,35 @@
+<div style="padding: 20px 0px 0px 0px;">
+    <div style="font-size: 120%;">
+        Leave a comment
+    </div>
+{% if False %}
+    <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST">
+{% endif %}
+    <form action="http://xanthippe.duckdns.org/blog-comments/submit_comment.php" method="POST">
+        <input type="hidden" name="Slug" value="{{ article.slug }}">
+        <table  style="padding: 10px 0px 0px 0px;">
+            <tr>
+                <td>
+                    Your name:
+                </td>
+                <td>
+                    <input type="text" name="Author">
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    Comment:
+                </td>
+                <td>
+                    <textarea rows="5" cols="60" name="Comment"></textarea>
+                </td>
+            </tr>
+            <tr>
+                <td>
+                    <input type="submit" value="Submit">
+                </td>
+                <td></td>
+            </tr>
+        </table>
+    </form>
+</div>