2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 14:21:27 +00:00

[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:
pjrharley
2009-05-30 16:17:19 +01:00
parent 4735edb9d0
commit 096f74a3f3
3 changed files with 7 additions and 2 deletions

View File

@@ -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 %}