magic-removal: Fixed HTML errors in admin/change_form template

git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2006-02-04 19:38:34 +00:00
parent c2e2893460
commit 9661076827
1 changed files with 3 additions and 1 deletions

View File

@ -21,7 +21,8 @@
</ul> </ul>
{% endif %}{% endif %} {% endif %}{% endif %}
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post">{% block form_top %}{% endblock %} <form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post">{% block form_top %}{% endblock %}
{% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %} <div>
{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
{% if opts.admin.save_on_top %}{% submit_row %}{% endif %} {% if opts.admin.save_on_top %}{% submit_row %}{% endif %}
{% if form.error_dict %} {% if form.error_dict %}
<p class="errornote"> <p class="errornote">
@ -60,5 +61,6 @@
{% auto_populated_field_script auto_populated_fields change %} {% auto_populated_field_script auto_populated_fields change %}
</script> </script>
{% endif %} {% endif %}
</div>
</form></div> </form></div>
{% endblock %} {% endblock %}