diff themes/tuxlite_tbs/templates/add_comment.html @ 76:7aa5f064106e

Use the "standard" pelican_plugin_system for comments instead of or homegrown pelican plugin.
author Dirk Olmes <dirk@xanthippe.ping.de>
date Wed, 06 Jan 2016 16:10:11 +0100
parents c2b99e876559
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/themes/tuxlite_tbs/templates/add_comment.html	Wed Jan 06 16:10:11 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>