<%inherit file="/template.html" />
<%namespace name="components" file="/components.html"/>
<%def name="title()">${_("Comment") if h.comment.wording() else _("Argument")}</%def>

<%def name="breadcrumbs()">
    ${h.delegateable.breadcrumbs(c.comment.topic)|n} &raquo; ${_("Comment") if h.comment.wording() else _("Argument")}
</%def>

<%block name="headline">
<h1>${(_("Comment on %s") if h.comment.wording() else _("Argument about %s")) % h.delegateable.link(c.comment.topic)|n}</h1>
</%block>

<%block name="main_content">
<form name="ask_delete" class="inplace" method="POST"
    action="${h.entity_url(c.comment, comment_page=True)}">
    ${h.field_token()|n}
    <input type="hidden" name="_method" value="DELETE" />
    <div class="sidebar">&nbsp;</div>
    <div class="mainbar">
        <div class="warning_box">
            ${_("Are you sure you want to delete this comment?") if h.comment.wording() else _("Are you sure you want to delete this argument?")|n}
        </div>

        <div class="input_wrapper submit">
            ${components.savebox(h.entity_url(c.comment), save_text=_('Confirm'))}
        </div>
    </div>
</form>
</%block>
