diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-09 08:25:01 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-09 08:25:01 +0000 |
| commit | 9584b77c35752b76116d34ac9d8b57c560ef5846 (patch) | |
| tree | 336fb632fa2a3dd32006e6f3aaf8816cac404792 /docs/ref/forms | |
| parent | a322ba66a175abe4c34bfc6d7cdecb8d4e801ed3 (diff) | |
[1.2.X] Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch
Backport of r14069 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@14072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 5984750943..9d78b8438e 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -197,7 +197,7 @@ Customizing widget instances When Django renders a widget as HTML, it only renders the bare minimum HTML - Django doesn't add a class definition, or any other widget-specific attributes. This means that all 'TextInput' widgets will appear the same -on your web page. +on your Web page. If you want to make one widget look different to another, you need to specify additional attributes for each widget. When you specify a @@ -222,7 +222,7 @@ each widget will be rendered exactly the same:: <tr><th>Comment:</th><td><input type="text" name="comment" /></td></tr> -On a real web page, you probably don't want every widget to look the same. You +On a real Web page, you probably don't want every widget to look the same. You might want a larger input element for the comment, and you might want the 'name' widget to have some special CSS class. To do this, you use the ``attrs`` argument when creating the widget: |
