Fixed various validation errors caught by the validator.nu HTML5 validator.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant
2011-04-20 17:41:04 +00:00
parent 72a4d38a56
commit 96dda384b0
2 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
{% if form.errors %}<h1>Please correct the following errors</h1>{% else %}<h1>Submit</h1>{% endif %}
<form action="" method="post">{% csrf_token %}
<form action="." method="post">{% csrf_token %}
<table>
{{ form }}
</table>

View File

@@ -15,7 +15,7 @@
<p>Security hash: {{ hash_value }}</p>
<form action="" method="post">{% csrf_token %}
<form action="." method="post">{% csrf_token %}
{% for field in form %}{{ field.as_hidden }}
{% endfor %}
<input type="hidden" name="{{ stage_field }}" value="2" />
@@ -25,7 +25,7 @@
<h1>Or edit it again</h1>
<form action="" method="post">{% csrf_token %}
<form action="." method="post">{% csrf_token %}
<table>
{{ form }}
</table>