{% extends "_layout.html" %}
{%- import '_macros_errors.html' as macros_errors with context -%}

{% block title %}{{ status }}: {{ error }}{% endblock title %}

{% block content %}
    <div>
        <div class="jumbotron bg-light" style="margin-top: 1em;">
            <h1 class="text-center">{{ status }}</h1>
            <p class="lead text-center">
                {{ error }}!
            </p>
            <hr>
            <p class="text-center">
                {{ macros_errors.get_message() }}
            </p>
    {%- if retry_url is defined %}
            <p class="text-center">
                {{ _('You can retry') }} <a href="{{ retry_url }}">{{ _('here.') }}</a>
            </p>
    {%- endif %}
        </div>
    </div>
{{ macros_errors.render_debug_info() }}
{% endblock content %}
