This commit is contained in:
JoseluCross
2018-10-01 16:47:43 +02:00
parent e796883167
commit 40e0291517
4 changed files with 26 additions and 19 deletions

View File

@@ -8,10 +8,14 @@
</div>
<div class="row">
<div class="col-sm-12">
{% if page.state == 1 %}
{% if page.state == 'BAD_CREDENTIAL' %}
<p class="text-danger">Bad credentials</p>
{% elseif page.state == 2 %}
{% elseif page.state == 'POST_ERROR' %}
<p class="text-danger">Error during sign-up, check your data</p>
{% elseif page.state == 'MAIL_IN_USE' %}
<p class="text-danger">The e-mail is currently in use</p>
{% elseif page.state == 'NICK_IN_USE' %}
<p class="text-danger">The nickname is currently in use</p>
{% endif %}
</div>
</div>