aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2011-07-03 23:33:07 +0300
committerTheo Chatzimichos <tampakrap@gentoo.org>2011-07-03 23:33:07 +0300
commita0c79aaa1c67b7a7ebee1d38558373b88a505bf8 (patch)
tree74c29a60646f4d55ba80daed95f40092af7cbc0d /templates
parentPrint Not Set for empty attributes (diff)
downloadidentity.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.html19
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 %}