<%inherit file="/base.mako" /> <%namespace name="comments" file="/comments/lib.mako" />

Reply

% if c.parent_comment: ${h.form(url(controller='comments', action='reply_done', id=c.parent_comment_id, owner_url=c.owner_url), method='post')}

Replying to comment ${c.parent_comment_id}

% else: ${h.form(url(controller='comments', action='reply_done', owner_url=c.owner_url), method='post')} % endif
Comment
${h.textarea('text')}
${h.submit(None, 'Post')}
${h.end_form()}