1
0
mirror of synced 2024-12-01 00:57:16 +01:00
artemis/core/frontend/widgets/err_banner.jinja
2023-02-19 15:40:25 -05:00

14 lines
284 B
Django/Jinja

{% if error > 0 %}
<div class="err-banner">
<h3>Error</h3>
{% if error == 1 %}
Card not registered, or wrong password
{% elif error == 2 %}
Missing or malformed access code
{% elif error == 3 %}
Failed to create user
{% else %}
An unknown error occoured
{% endif %}
</div>
{% endif %}