mirror of
https://gitlab.com/CodeSolutionsProject/CodeShare.git
synced 2026-02-14 17:11:34 +01:00
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user