merged in comments
[zzz-floof.git] / floof / templates / comments / reply.mako
1 <%inherit file="/base.mako" />
2 <%namespace name="comments" file="/comments/lib.mako" />
3
4 <h1>Reply</h1>
5 % if c.parent_comment:
6 ${h.form(url(controller='comments', action='reply_done', id=c.parent_comment_id, owner_url=c.owner_url), method='post')}
7 <p>Replying to comment ${c.parent_comment_id}</p>
8 % else:
9 ${h.form(url(controller='comments', action='reply_done', owner_url=c.owner_url), method='post')}
10 % endif
11 <dl class="form">
12     <dt>Comment</dt>
13     <dd>${h.textarea('text')}</dd>
14
15     <dd>${h.submit(None, 'Post')}</dd>
16 </dl>
17 ${h.end_form()}