forked from expo/troggle
[svn] A few registration updates
-display an error for nonmatching passwords -display an error for short passwords -dont direct people to http://http://sitename....
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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 %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user