{% extends "layout.twig" %}

{% block title %}${ "Delete &#8220;%s&#8221;?" | translate | format(post.title | escape) }{% endblock %}

{% block content %}
            <h1>${ "Are you sure you want to delete &#8220;%s&#8221;?" | translate | format(post.title) }</h1>
            <form class="delete" action="{% admin "destroy_post" %}" method="post" accept-charset="utf-8">
                <fieldset>
                    <blockquote>
                        <h2>${ "Excerpt" | translate }</h2>
                        $post.excerpt
                    </blockquote>
                    <br />

                    <div class="center">
                        <button name="destroy" value="indubitably" class="center boo">${ "DESTROY!" | translate }</button>
                        <button name="destroy" value="bollocks" type="submit" class="yay">${ "Cancel" | translate }</button>
                    </div>

                    <input type="hidden" name="id" value="$post.id" id="id" />
                    <input type="hidden" name="hash" value="$site.secure_hashkey" id="hash" />
                </fieldset>
            </form>
{% endblock %}
