ScoDoc/app/templates/sco_value_error.j2

18 lines
392 B
Django/Jinja

{# -*- mode: jinja-html -*- #}
{% extends 'base.j2' %}
{% block app_content %}
<h2>Erreur !</h2>
{{ exc | safe }}
<p>
{% if g.scodoc_dept %}
<a href="{{ exc.dest_url or url_for('scolar.index_html', scodoc_dept=g.scodoc_dept) }}">continuer</a>
{% else %}
<a href="{{ exc.dest_url or url_for('scodoc.index') }}">retour page d'accueil</a>
{% endif %}
</p>
{% endblock %}