diff options
Diffstat (limited to 'templates/signup.html')
-rw-r--r-- | templates/signup.html | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/templates/signup.html b/templates/signup.html index 97b88cd..5795346 100644 --- a/templates/signup.html +++ b/templates/signup.html @@ -1,6 +1,13 @@ -<form action="." method="post">{% csrf_token %} - {% for field in form %} - {{ field.label_tag }}{{ field }}<br /> - {% endfor %} - <input class="button" type="submit" value="signup"> -</form>
\ No newline at end of file +{% if username %} + You will soon recieve a mail at {{ email }} to verify your account +{% else %} + <form action="." method="post">{% csrf_token %} + {% for field in form %} + {{ field.label_tag }}{{ field }}<br /> + {% endfor %} + <input class="button" type="submit" value="signup"> + {% if msg %} + <p class="messages">{{ msg }}</p> + {% endif %} + </form> +{% endif %} |