{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}

{% block app_content %}

<h2>Erreur !</h2>

{{ exc | safe }}

<div style="margin-top: 16px;">
    {% if g.scodoc_dept %}
    <a href="{{ exc.dest_url or url_for('scolar.index_html', scodoc_dept=g.scodoc_dept) }}">continuer</a>
    {% elif exc.dest_url %}
        <a href="{{ exc.dest_url or url_for('scodoc.index') }}">continuer</a>
    {% else %}
        <a href="{{ exc.dest_url or url_for('scodoc.index') }}">retour page d'accueil</a>
    {% endif %}
</div>

<p style="margin-top: 32px;" class="help">
Si le problème persiste, merci de contacter le support ScoDoc via
<a class="stdlink" noreferer href="{{scu.SCO_DISCORD_ASSISTANCE|safe}}">
{{scu.SCO_DISCORD_ASSISTANCE}}
</a>
</p>

{% endblock %}