diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 184515ec95..a7d35f4ddd 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -17,42 +17,54 @@ Django provides a representation of all the basic HTML widgets, plus some commonly used groups of widgets: .. class:: TextInput + Text input: ```` .. class:: PasswordInput + Password input: ```` .. class:: HiddenInput + Hidden input: ```` .. class:: MultipleHiddenInput + Multiple ```` widgets. .. class:: FileInput + File upload input: ```` .. class:: DateTimeInput + Date/time input as a simple text box: ```` **New in Django development version:** .. class:: Textarea + Text area: ```` .. class:: CheckboxInput + Checkbox: ```` .. class:: Select + Select widget: ```` .. class:: NullBooleanSelect + Select widget with options 'Unknown', 'Yes' and 'No' .. class:: SelectMultiple + Select widget allowing multiple selection: ```` .. class:: RadioSelect + A list of radio buttons: .. code-block:: html @@ -63,6 +75,7 @@ commonly used groups of widgets: .. class:: CheckboxSelectMultiple + A list of checkboxes: .. code-block:: html @@ -73,9 +86,11 @@ commonly used groups of widgets: .. class:: MultiWidget + Wrapper around multiple other widgets .. class:: SplitDateTimeWidget + Wrapper around two ``TextInput`` widgets: one for the date, and one for the time.