summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/registration/registration_form.html11
1 files changed, 1 insertions, 10 deletions
diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html
index 5720a8b..f82c6cb 100644
--- a/templates/registration/registration_form.html
+++ b/templates/registration/registration_form.html
@@ -9,7 +9,7 @@ registration_form.html | {{ block.super }}
{% endblock %}
{% block content %}
-<form action="{% url registration_register %}" method="POST">
+<form action="{% url registration_register %}" method="POST">{% csrf_token %}
{% for error in form.non_field_errors %}
<span style="color:red">{{ error }}</span>
{% endfor %}
@@ -42,15 +42,6 @@ registration_form.html | {{ block.super }}
</td>
</tr>
<tr>
- <td align="right" valign="top">Password (again):</td>
- <td>
- {{ form.password2 }} <br/>
- {% for error in form.password2.errors %}
- <span style="color:red">{{ error }}</span>
- {% endfor %}
- </td>
-</tr>
-<tr>
<td>&nbsp;</td>
<td><input type="submit" value="Register" /></td>
</tr>