Ticket #14023: docs-better-form-example.diff
File docs-better-form-example.diff, 504 bytes (added by , 14 years ago) |
---|
-
docs/topics/forms/index.txt
diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 119e943..0b19989 100644
a b the way a form is presented using the Django template language. Extending the 212 212 above example:: 213 213 214 214 <form action="/contact/" method="post"> 215 {{ form.non_field_errors }} 215 216 <div class="fieldWrapper"> 216 217 {{ form.subject.errors }} 217 218 <label for="id_subject">E-mail subject:</label>