{% extends "pinax/stripe/base.html" %}


{% load bootstrap %}

{% block body_class %}{{ block.super }} pinax-stripe-subscriptions{% endblock %}

{% block content %}
<div class="pinax-stripe-subscriptions-cancel-container">
    <h4>Cancel Subscription</h4>
    {% if errors %}
        <div class="errors">
            {{ errors }}
        </div>
    {% endif %}

    <div class="summary">
        You began your subscription of <strong>{{ object.plan.name }}</strong> on
        {{ object.start }}.
    </div>

    <form action="{% url "pinax_stripe_subscription_delete" object.pk %}" method="post">
        {% csrf_token %}
        <button>Cancel</button>
    </form>
</div>
{% endblock %}
