{% extends 'edx/base.html' %}
{% load i18n %}
{% load static %}

{% block title %}
    {% trans "Checkout Error" %}
{% endblock %}

{% block navbar %}
    {% include 'edx/partials/_student_navbar.html' %}
{% endblock %}

{% block content %}
    <div id="error-message">
        <div class="container">
            <div class="depth depth-2 message-error-content">
                <h1>{% trans "Checkout Error" %}</h1>
                <p>{% trans "An error has occurred with your payment." %} <b>{% trans "You have not been charged." %}</b></p>
                <p>{% with "<a class='nav-link' href='https://support.edx.org/hc/en-us/articles/115000914088-Why-is-my-upgrade-payment-failing-'>"|safe as start_link %}
                    {% blocktrans with end_link="</a>"|safe %}
                    Please try to submit your payment again. If this problem persists, please refer to our {{ start_link }}
                    Payments FAQ {{ end_link }} for troubleshooting tips.
                    {% endblocktrans %}
                {% endwith %}</p>
            </div>
        </div>
    </div>
{% endblock %}
