changeset 48:d67fddd151c1

comment form
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sat, 21 Feb 2009 17:27:24 -0500
parents 14646ab1a409
children 732f8aa0a5be
files templates/story-comment-tail.html
diffstat 1 files changed, 23 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/templates/story-comment-tail.html	Sun Feb 15 19:25:35 2009 -0500
+++ b/templates/story-comment-tail.html	Sat Feb 21 17:27:24 2009 -0500
@@ -3,4 +3,26 @@
 <p><a href='/blahg-test/?feed=atom&amp;p=@@POSTID@@'>Atom feed for comments on this post.</a> 
 </p>
 
-<h2 id="postcomment">Sorry, comments submission is currently disabled</h2>
+<h2 id="postcomment">Leave a comment</h2>
+
+<form action="/blahg-test/post-comment" method="post" id="commentform">
+
+<p><input type="text" name="a" id="author" value="" size="22" tabindex="1" />
+<label for="author"><small>Name (required)</small></label></p>
+
+<p><input type="text" name="e" id="email" value="" size="22" tabindex="2" />
+<label for="email"><small>Mail (will not be published) (required)</small></label></p>
+
+<p><input type="text" name="u" id="url" value="" size="22" tabindex="3" />
+<label for="url"><small>Website</small></label></p>
+
+<!--<p><small><strong>XHTML:</strong> You can use these tags: &lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </small></p>-->
+
+<p><textarea name="c" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
+
+<p><input name="s" type="submit" id="submit" tabindex="5" value="Submit Comment" />
+<input type="hidden" name="i" value="@@POSTID@@" />
+<input type="hidden" name="d" value="@@UNIXDATE@@" />
+</p>
+
+</form>