From 3cdd6d898efc9488f4cd6b470b7c48b6a27c284c Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Wed, 2 Feb 2011 20:23:13 +0000 Subject: [PATCH] Fixed #15204 - Update form examples for rendering of the help_text; thanks prestontimmons. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15396 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/forms/fields.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt index d63fc4d7a4..3b19dda10e 100644 --- a/docs/ref/forms/fields.txt +++ b/docs/ref/forms/fields.txt @@ -212,17 +212,17 @@ fields. We've specified ``auto_id=False`` to simplify the output:: ... cc_myself = forms.BooleanField(required=False) >>> f = HelpTextContactForm(auto_id=False) >>> print f.as_table() - Subject:
100 characters max. + Subject:
100 characters max. Message: Sender:
A valid e-mail address, please. Cc myself: >>> print f.as_ul() -
  • Subject: 100 characters max.
  • +
  • Subject: 100 characters max.
  • Message:
  • Sender: A valid e-mail address, please.
  • Cc myself:
  • >>> print f.as_p() -

    Subject: 100 characters max.

    +

    Subject: 100 characters max.

    Message:

    Sender: A valid e-mail address, please.

    Cc myself: