summaryrefslogtreecommitdiffstats
path: root/templates/registration
diff options
context:
space:
mode:
authorpjrharley <devnull@localhost>2009-05-30 16:17:19 +0100
committerpjrharley <devnull@localhost>2009-05-30 16:17:19 +0100
commit096f74a3f35b53e2d479f6091c6acbc1000ae032 (patch)
tree629e9cb00ef3018d813acc05756925993ec02b4f /templates/registration
parent4735edb9d08d8bb17ae00018d3bb087206afc09f (diff)
downloadtroggle-096f74a3f35b53e2d479f6091c6acbc1000ae032.tar.gz
troggle-096f74a3f35b53e2d479f6091c6acbc1000ae032.tar.bz2
troggle-096f74a3f35b53e2d479f6091c6acbc1000ae032.zip
[svn] A few registration updates
-display an error for nonmatching passwords -display an error for short passwords -dont direct people to http://http://sitename....
Diffstat (limited to 'templates/registration')
-rw-r--r--templates/registration/activation_email.html2
-rw-r--r--templates/registration/registration_form.html5
2 files changed, 5 insertions, 2 deletions
diff --git a/templates/registration/activation_email.html b/templates/registration/activation_email.html
index fa205ef..e8f846b 100644
--- a/templates/registration/activation_email.html
+++ b/templates/registration/activation_email.html
@@ -2,7 +2,7 @@
<P>Glad you're joining the CUCC EXPO team! Please go to</P>
-<P><a href="http://{{ site }}{% url registration_activate activation_key %}">{{ site }}{% url registration_activate activation_key %}</a></P>
+<P><a href="{{ site }}{% url registration_activate activation_key %}">{{ site }}{% url registration_activate activation_key %}</a></P>
<P>to activate your account. Do this within {{ expiration_days }} days, or else you'll have to sign up again.</P>
diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html
index 17bebf2..5720a8b 100644
--- a/templates/registration/registration_form.html
+++ b/templates/registration/registration_form.html
@@ -10,6 +10,9 @@ registration_form.html | {{ block.super }}
{% block content %}
<form action="{% url registration_register %}" method="POST">
+ {% for error in form.non_field_errors %}
+ <span style="color:red">{{ error }}</span>
+ {% endfor %}
<table>
<tr>
<td align="right" valign="top">Username:</td>
@@ -53,4 +56,4 @@ registration_form.html | {{ block.super }}
</tr>
</table>
</form>
-{% endblock %} \ No newline at end of file
+{% endblock %}