<%inherit file="/template.html" />
<%namespace name="components" file="/components.html"/>
<%def name="title()">${_("Delete: %s") % c.proposal.title}</%def>

<%def name="breadcrumbs()">
    ${h.proposal.breadcrumbs(c.proposal)|n} &raquo; ${_("Delete")}
</%def>


<%block name="main_content">
<div class="mainbar">
    <h2>
        ${h.delegateable.link(c.proposal, link=False)|n}
    </h2>
    <form name="ask_delete" class="inplace" method="POST"
        action="${h.entity_url(c.proposal, in_overlay=False)}">
        ${h.field_token()|n}
        <input type="hidden" name="_method" value="DELETE" />
        <div class="warning_box">
            ${_("Are you sure you want to delete this proposal?")}
        </div>

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