Ticket #14023: docs-better-form-example.diff

File docs-better-form-example.diff, 504 bytes (added by konryd, 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  
    212212above example::
    213213
    214214    <form action="/contact/" method="post">
     215        {{ form.non_field_errors }}
    215216        <div class="fieldWrapper">
    216217            {{ form.subject.errors }}
    217218            <label for="id_subject">E-mail subject:</label>
Back to Top