add information to successpage (will now list errors)

This commit is contained in:
2021-11-24 16:23:25 -06:00
parent b3ce652b2c
commit 3bea6c5e62

View File

@@ -5,13 +5,20 @@
<head> <head>
<meta http-equiv="refresh" content="2;url={{ call_back_url }}" /> <meta http-equiv="refresh" content="2;url={{ call_back_url }}" />
</head> </head>
<span class="text-success">Success!</span> <span class="text-muted">Redirecting...</span> {% if errors %}
{% for error in errors %} <span class="text-danger">Errors...</span>
error {% for error in errors %}
{% endfor %} error
{% endfor %}
{% else %}
<span class="text-success">Success!</span>
{% endif %}
<span class="text-muted">Redirecting...</span>
{% endblock %} {% endblock %}