18 lines
363 B
Django/Jinja
18 lines
363 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
|
|
{% elif error == 4 %}
|
|
Arcade not found
|
|
{% elif error == 5 %}
|
|
Machine not found
|
|
{% else %}
|
|
An unknown error occoured
|
|
{% endif %}
|
|
</div>
|
|
{% endif %} |