diff options
| author | James Bennett <james@b-list.org> | 2013-06-20 01:51:20 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-08 14:09:02 -0400 |
| commit | b2afe396635e2de5b3a917a61350cd96fbde9ab7 (patch) | |
| tree | 707ec3e7f9392652f086a76f01dfb1258a2ce125 /docs/ref/forms | |
| parent | 730069197fd29d7b055a260a1344802b16415fb4 (diff) | |
[1.6.x] Fixed #19695 -- Retitle "Form Media" to "Form Assets".
Backport of c0f03175ce from master
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 341574ad37..5b66776cfc 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -171,16 +171,15 @@ You can also set the HTML ``id`` using :attr:`~Widget.attrs`. See Styling widget classes ^^^^^^^^^^^^^^^^^^^^^^ -With widgets, it is possible to add media (``css`` and ``javascript``) +With widgets, it is possible to add assets (``css`` and ``javascript``) and more deeply customize their appearance and behavior. In a nutshell, you will need to subclass the widget and either -:ref:`define a class "Media" <media-as-a-static-definition>` as a member of the -subclass, or :ref:`create a property "media" <dynamic-property>`, returning an -instance of that class. +:ref:`define a "Media" inner class <assets-as-a-static-definition>` or +:ref:`create a "media" property <dynamic-property>`. These methods involve somewhat advanced Python programming and are described in -detail in the :doc:`Form Media </topics/forms/media>` topic guide. +detail in the :doc:`Form Assets </topics/forms/media>` topic guide. .. _base-widget-classes: |
