{% extends "aircox/base.html" %}
{% load i18n %}

{% block top-nav-container %}
    {% if request.station %}{{ block.super }}{% endif %}
{% endblock %}

{% block player-container %}
    {% if request.station %}{{ block.super }}{% endif %}
{% endblock %}

{% block head_title %}
    {% block title %}{% trans "An error occurred..." %}{% endblock %}
    {% if request.station %}
    &mdash;
    {{ station.name }}
    {% endif %}
{% endblock %}


{% block content %}
<article class="message is-danger">
    <div class="message-header">
        <p>{% block error_title %}{% trans "An error occurred" %}{% endblock %}</p>
    </div>
    <div class="message-body">
        {% block error_content %}{% endblock %}
    </div>
</article>
{% endblock %}
