diff options
author | Theo Chatzimichos <tampakrap@gentoo.org> | 2011-07-03 23:33:07 +0300 |
---|---|---|
committer | Theo Chatzimichos <tampakrap@gentoo.org> | 2011-07-03 23:33:07 +0300 |
commit | a0c79aaa1c67b7a7ebee1d38558373b88a505bf8 (patch) | |
tree | 74c29a60646f4d55ba80daed95f40092af7cbc0d /templates | |
parent | Print Not Set for empty attributes (diff) | |
download | identity.gentoo.org-a0c79aaa1c67b7a7ebee1d38558373b88a505bf8.tar.gz identity.gentoo.org-a0c79aaa1c67b7a7ebee1d38558373b88a505bf8.tar.bz2 identity.gentoo.org-a0c79aaa1c67b7a7ebee1d38558373b88a505bf8.zip |
Improve signup template
Diffstat (limited to 'templates')
-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 %} |