Fixed #14023 -- include non_field_errors in example. Thanks to konryd for the report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Simon Meers 2010-10-08 23:32:46 +00:00
parent 37023bc0bc
commit 0f9eb912ff
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ the way a form is presented using the Django template language. Extending the
above example::
<form action="/contact/" method="post">
{{ form.non_field_errors }}
<div class="fieldWrapper">
{{ form.subject.errors }}
<label for="id_subject">E-mail subject:</label>