{% extends "page.html" %}

{% block breadcrumb_content %}
    <li class="active">
        <a href="{{ request.path }}">{{ _(breadcrumb_label) }}</a>
    </li>
{% endblock %}

{% block secondary %}
{% endblock %}

{% block primary %}
    <div class="primary col-12" role="main">
        {% block page_content %}
            <div class="pt-2 ckanext-datapreview">
                {% if page_title %}
                    <h1>{{ _(page_title) if page_title else "" }}</h1>
                {% endif %}

                {% snippet "tables/render_table.html", table=table %}
            </div>

        {% endblock page_content %}
    </div>
{% endblock %}

{% block scripts %}
    {{ super() }}
    {% asset "tables/tables-js" %}
{% endblock %}

{% block styles %}
    {{ super() }}
    {% asset "tables/tables-css" %}
{% endblock %}
