{% extends "pinax/stripe/base.html" %} {% load bootstrap %} {% block body_class %}pinax-stripe-subscriptions{% endblock %} {% block body %} {% if object %} {% url "pinax_stripe_subscription_update" object.pk as post_url %} {% else %} {% url "pinax_stripe_subscription_create" as post_url %} {% endif %}
{% if object %}{{ object.plan.name }}{% endif %}

{% if object %}Change{% else %}Add{% endif %} Subscription

{% if errors %}
{{ errors }}
{% endif %}
{% csrf_token %}
{{ form|bootstrap }}
{% if not request.user.customer.default_source %}
{% endif %}
{% endblock %} {% block scripts %} {{ block.super }} {% include "pinax/stripe/_stripe_js.html" %} {% endblock %}