{% extends "dashboard.html" %}
{% load static %}

{% block content %}
<article>
    <header class="object__header">
        <h1><img src="{% static 'images/coupon.png' %}" alt=""> Coupon</h1>
    </header>
    <section class="coupon__detail object__panel">
        <form method="post" class="panel__item">{% csrf_token %}
            <p>Are you sure you want to delete "{{ object }}"?</p>
            {{ form.as_p }}
            <p>
                <input class="action-button action-button--warning" type="submit" value="Confirm"> or <a href="{% url 'dashboard:coupon-detail' coupon.pk %}">cancel</a>
            </p>
        </form>
    </section>
</article>
{% endblock content %}
