{% extends "suff/base.html" %}

{% block content %}
<h2>Buchung löschen?</h2>

<p>
    Willst du wirklich
    <strong>{{ consumption.drink.name }}</strong>
    ({% if consumption.for_free %}gratis{% else %}{{ consumption.drink.sale_price_per_bottle|floatformat:2 }} €{% endif %})
    von {{ consumption.get_day_display }}{% if consumption.created_at %}, {{ consumption.created_at|date:"H:i" }}{% endif %}
    löschen?
</p>

<form method="post" action="{% url 'suff:delete_consumption' consumption.id %}" class="confirm-actions">
    {% csrf_token %}
    <button type="submit" class="btn-danger">Ja, löschen</button>
    <a href="{% url 'suff:me' %}" class="btn-secondary">Nein, zurück</a>
</form>
{% endblock %}
