{% extends 'base.html' %}

{% block page_title %}{{ _('Delete') }} | {{ object.title }} | {% endblock %}

{% block page_id %}delete_submission{% endblock %}

{% block section_class %}entries{% endblock %}

{% block header %}
<h1 class="shout">{% block page_heading %}{{ _('Delete your submission') }}{% endblock %}</h1>
{% endblock %}

{% block alerts %}
{% if errors %}
<section class="alerts errors">
    <h2 class="busta">{{ _('Oops! We came across a few errors') }}</h2>
    <ul class="busta">
    {% for error in errors %}
    <li><strong>{{ error }}</strong>{{ errors[error][2:] }}</li>
    {% endfor %}
    </ul>
</section>
{% endif %}
{% endblock %}

{% block content %}   
<form action="" method="post" enctype="multipart/form-data">
    {{ csrf()|safe }}
    <p class="announce">{{ _('Are you <em>certain</em> you want to remove your submission?') }}</p>
    <p>{{ _("If you're not happy with your submission at the moment, you can also revert it to "draft" status and keep polishing.") }}</p>
    {% block submit %}
    <a href={{ object.get_absolute_url() }} class="back">{{ _('OK, take me back') }}</a> or
    <input class="cta" type="submit" value="{{ _('Delete this submission permanently') }}" />
    {% endblock %}
</form>
{% endblock %}

{% extends 'base.html' %}

{% block page_title %}{{ _('Delete') }} | {{ object.title }} | {% endblock %}

{% block page_id %}delete_submission{% endblock %}

{% block section_class %}entries{% endblock %}

{% block header %}
<h1 class="shout">{% block page_heading %}{{ _('Delete your submission') }}{% endblock %}</h1>
{% endblock %}

{% block alerts %}
{% if errors %}
<section class="alerts errors">
    <h2 class="busta">{{ _('Oops! We came across a few errors') }}</h2>
    <ul class="busta">
    {% for error in errors %}
    <li><strong>{{ error }}</strong>{{ errors[error][2:] }}</li>
    {% endfor %}
    </ul>
</section>
{% endif %}
{% endblock %}

{% block content %}   
<form action="" method="post" enctype="multipart/form-data">
    {{ csrf()|safe }}
    <p class="announce">{{ _('Are you <em>certain</em> you want to remove your submission?') }}</p>
    <p>{{ _("If you're not happy with your submission at the moment, you can also revert it to \"draft\" status and keep polishing.") }}</p>
    {% block submit %}
    <a href={{ object.get_absolute_url() }} class="back">{{ _('OK, take me back') }}</a> or
    <input class="cta" type="submit" value="{{ _('Delete this submission permanently') }}" />
    {% endblock %}
</form>
{% endblock %}

Fix unescaped quotes in a template.
Fix unescaped quotes in a template.
