{% load url from future %}

Current Card

{% if request.user.customer.card_kind and request.user.customer.card_last_4 %} Current card on file is a {{ request.user.customer.card_kind }} ending in the digits {{ request.user.customer.card_last_4 }}. {% else %} You do not currently have a card on file. {% endif %}

{% if error %}
{{ error }}
{% endif %}
{% csrf_token %} {% if request.user.customer.card_kind %}Change{% else %}Add{% endif %} Card