projects
/
zzz-floof.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git@veekun.com:floof
[zzz-floof.git]
/
floof
/
templates
/
comments
/
reply.mako
diff --git
a/floof/templates/comments/reply.mako
b/floof/templates/comments/reply.mako
index
9941433
..
916cc91
100644
(file)
--- a/
floof/templates/comments/reply.mako
+++ b/
floof/templates/comments/reply.mako
@@
-2,7
+2,12
@@
<%namespace name="comments" file="/comments/lib.mako" />
<h1>Reply</h1>
<%namespace name="comments" file="/comments/lib.mako" />
<h1>Reply</h1>
+% if c.parent_comment:
+${h.form(url(controller='comments', action='reply_done', id=c.parent_comment_id, owner_url=c.owner_url), method='post')}
+<p>Replying to comment ${c.parent_comment_id}</p>
+% else:
${h.form(url(controller='comments', action='reply_done', owner_url=c.owner_url), method='post')}
${h.form(url(controller='comments', action='reply_done', owner_url=c.owner_url), method='post')}
+% endif
<dl class="form">
<dt>Comment</dt>
<dd>${h.textarea('text')}</dd>
<dl class="form">
<dt>Comment</dt>
<dd>${h.textarea('text')}</dd>