{% extends "hosting/base_short.html" %} {% load staticfiles bootstrap3 i18n %} {% block css_extra %} {% endblock css_extra %} {% block content %}

{% trans "My Settings" %}

{%trans "Billing Address"%}


{% for field in form %} {% csrf_token %} {% bootstrap_field field show_label=False type='fields' bound_css_class='' %} {% endfor %}

{%trans "Credit Card"%}


{% if credit_card_data.last4 %}
{% trans "Credit Card" %}
{% trans "Last" %} 4: *****{{credit_card_data.last4}}
{% trans "Type" %}: {{credit_card_data.cc_brand}}
{% comment %} {% endcomment %}
{% else %}

{% trans "No Credit Cards Added" %}

{% blocktrans %}We are using Stripe for payment and do not store your information in our database.{% endblocktrans %}

{% comment %}

{% trans "Add a new Card." %}

{% blocktrans %}Please fill in your credit card information below. We are using Stripe for payment and do not store your information in our database.{% endblocktrans %}

{% if not messages and not form.non_field_errors %}

{% blocktrans %}You are not making any payment here.{% endblocktrans %}

{% endif %}
{% for message in messages %} {% if 'failed_payment' or 'make_charge_error' in message.tags %}
  • {{ message|safe }}

{% endif %} {% endfor %} {% for error in form.non_field_errors %}

{{ error|escape }}

{% endfor %}

{% endcomment %} {% endif %}
{% comment %} {% if stripe_key %} {% get_current_language as LANGUAGE_CODE %} {%endif%} {% if credit_card_data.last4 and credit_card_data.cc_brand %} {%endif%} {% endcomment %} {%endblock%}