{% extends 'dashboard/layout.html' %}
{% load i18n %}

{% block title %}
{% blocktrans with name=object.name %}Delete content block '{{ name }}'?"{% endblocktrans %}
| {{ block.super }}
{% endblock  %}

{% block breadcrumbs %}
<ul class="breadcrumb">
    <li>
	<a href="{% url dashboard:index %}">{% trans "Dashboard" %}</a>
        <span class="divider">/</span>
    </li>
    <li>
	<a href="{% url dashboard:promotion-list %}">{% trans "Content blocks" %}</a>
        <span class="divider">/</span>
    </li>
	<li class="active"><a href=".">{% blocktrans with name=object.name %}Delete content block '{{ name }}'?"{% endblocktrans %}</a></li>
</ul>
{% endblock %}

{% block header %}
<div class="page-header">
	<h1>{% blocktrans with name=object.name %}Delete content block '{{ name }}'?"{% endblocktrans %}</h1>
</div>
{% endblock header%}

{% block dashboard_content %}
<form action="." method="post">
	{% csrf_token %}
	{{ form }}
	<p>{% blocktrans %}Delete {{ object.type }} content block <strong>{{ object.name }}</strong> - are you sure?{% endblocktrans %}</p>
	<div class="form-actions">
		<button type="submit" class="btn btn-danger">{% trans "Delete" %}</button>
		{% trans "or" %} <a href="{% url dashboard:promotion-list %}">{% trans "cancel" %}</a>
	</div>
</form>
{% endblock %}
