{% load i18n %} {% for hidden_field in credit_card_form.hidden_fields %} {{ hidden_field }} {% endfor %} {% if credit_card_form.non_field_errors %} {% endif %}
{{ credit_card_form.full_name.label_tag }} {{ credit_card_form.full_name }} {% if credit_card_form.full_name.errors %} {% for error in credit_card_form.full_name.errors %}
{{ error }}
{% endfor %} {% else %} {% endif %} {% if credit_card_form.full_name.help_text %} {{ credit_card_form.full_name.help_text }} {% endif %}
{{ credit_card_form.card_number.label_tag }} {{ credit_card_form.card_number }} {% if credit_card_form.card_number.errors %} {% for error in credit_card_form.card_number.errors %}
{{ error }}
{% endfor %} {% endif %} {% if credit_card_form.card_number.help_text %} {{ credit_card_form.card_number.help_text }} {% endif %}
{{ credit_card_form.expire_month.label_tag }} {{ credit_card_form.expire_month }} {% if credit_card_form.expire_month.help_text %} {{ credit_card_form.expire_month.help_text }} {% endif %}
{{ credit_card_form.expire_year.label_tag }} {{ credit_card_form.expire_year }} {% if credit_card_form.expire_year.help_text %} {{ credit_card_form.expire_year.help_text }} {% endif %}
{% if credit_card_form.expire_month.errors %} {% for error in credit_card_form.expire_month.errors %}
{{ error }}
{% endfor %} {% endif %} {% if credit_card_form.expire_year.errors %} {% for error in credit_card_form.expire_year.errors %}
{{ error }}
{% endfor %} {% endif %}
{{ credit_card_form.cvv_number.label_tag }} {{ credit_card_form.cvv_number }} {% if credit_card_form.cvv_number.errors %} {% for error in credit_card_form.cvv_number.errors %}
{{ error }}
{% endfor %} {% endif %} {% if credit_card_form.cvv_number.help_text %} {{ credit_card_form.cvv_number.help_text }} {% endif %}