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

{% block title %}
{% trans "Basket" %}
{% endblock title %}

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


{% block javascript %}
    <script src="{% static 'js/apps/basket_app.js' %}"></script>
{% endblock %}

{% block content %}
    <div class="basket">
        <div class="container">
            {# Use a partial template so that AJAX can be used to re-render basket #}
            {% include 'basket/partials/basket_content.html' %}
        </div>
    </div>

    {% if analytics_data %}
        <script type="text/javascript">
            var initModelData = {{ analytics_data|safe }};
        </script>
    {% endif %}
{% endblock content %}
