Ticket #1644: doc_change.diff
File doc_change.diff, 958 bytes (added by , 19 years ago) |
---|
-
docs/forms.txt
243 243 <h1>Create a place:</h1> 244 244 245 245 {% if form.has_errors %} 246 <h2>Please correct the following error{{ errors|pluralize }}:</h2>246 <h2>Please correct the following error{{ form.error_dict|pluralize }}:</h2> 247 247 {% endif %} 248 248 249 249 <form method="post" action="."> … … 288 288 this gives each field an ``errors`` item (which is a list of error messages 289 289 associated with the field) as well as a ``html_error_list`` item, which is a 290 290 ``<ul>`` of error messages. The above template uses these error items to 291 display a simple error message next to each field. 291 display a simple error message next to each field. The error list is saved 292 as an ``error_dict`` attribute of the ``FormWrapper`` object. 292 293 293 294 Using the ``ChangeManipulator`` 294 295 -------------------------------