diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-09 08:12:50 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-09 08:12:50 +0000 |
| commit | a904e55859470944c006d87665074e3574da7b52 (patch) | |
| tree | bf5e56c183fa5ab8a5de4bb69ffdf82b678bebee /docs/ref/forms | |
| parent | 2cadc6b10aea168a3da33313e279d56950650b39 (diff) | |
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 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 c01a7368bd..aa1661f1cb 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -210,7 +210,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 @@ -235,7 +235,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: |
