From 7741d4e8787809b38df970aa11df8bdad4f22dd8 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Fri, 14 Apr 2017 08:44:11 +0200 Subject: [PATCH] Double quoted HTML attributes in widget docs --- docs/ref/forms/widgets.txt | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 828033352a..1dc57a1f7e 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -516,7 +516,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. * ``input_type``: ``'password'`` * ``template_name``: ``'django/forms/widgets/password.html'`` - * Renders as: ```` + * Renders as: ```` Takes one optional argument: @@ -532,7 +532,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. * ``input_type``: ``'hidden'`` * ``template_name``: ``'django/forms/widgets/hidden.html'`` - * Renders as: ```` + * Renders as: ```` Note that there also is a :class:`MultipleHiddenInput` widget that encapsulates a set of hidden input elements. @@ -544,7 +544,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. * ``input_type``: ``'text'`` * ``template_name``: ``'django/forms/widgets/date.html'`` - * Renders as: ```` + * Renders as: ```` Takes same arguments as :class:`TextInput`, with one more optional argument: @@ -563,7 +563,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. * ``input_type``: ``'text'`` * ``template_name``: ``'django/forms/widgets/datetime.html'`` - * Renders as: ```` + * Renders as: ```` Takes same arguments as :class:`TextInput`, with one more optional argument: @@ -586,7 +586,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``. * ``input_type``: ``'text'`` * ``template_name``: ``'django/forms/widgets/time.html'`` - * Renders as: ```` + * Renders as: ```` Takes same arguments as :class:`TextInput`, with one more optional argument: @@ -614,7 +614,7 @@ Selector and checkbox widgets ----------------------------- These widgets make use of the HTML elements ````, and ````. +````, and ````. Widgets that render multiple choices have an ``option_template_name`` attribute that specifies the template used to render each choice. For example, for the @@ -628,7 +628,7 @@ that specifies the template used to render each choice. For example, for the * ``input_type``: ``'checkbox'`` * ``template_name``: ``'django/forms/widgets/checkbox.html'`` - * Renders as: ```` + * Renders as: ```` Takes one optional argument: @@ -671,7 +671,7 @@ that specifies the template used to render each choice. For example, for the * ``option_template_name``: ``'django/forms/widgets/select_option.html'`` Similar to :class:`Select`, but allows multiple selection: - ```` + ```` ``RadioSelect`` ~~~~~~~~~~~~~~~ @@ -687,7 +687,7 @@ that specifies the template used to render each choice. For example, for the .. code-block:: html @@ -782,7 +782,7 @@ that specifies the template used to render each choice. For example, for the .. code-block:: html @@ -809,7 +809,7 @@ File upload widgets .. class:: FileInput * ``template_name``: ``'django/forms/widgets/file.html'`` - * Renders as: ```` + * Renders as: ```` ``ClearableFileInput`` ~~~~~~~~~~~~~~~~~~~~~~ @@ -817,7 +817,7 @@ File upload widgets .. class:: ClearableFileInput * ``template_name``: ``'django/forms/widgets/clearable_file_input.html'`` - * Renders as: ```` with an additional checkbox + * Renders as: ```` with an additional checkbox input to clear the field's value, if the field is not required and has initial data. @@ -832,7 +832,7 @@ Composite widgets .. class:: MultipleHiddenInput * ``template_name``: ``'django/forms/widgets/multiple_hidden.html'`` - * Renders as: multiple ```` tags + * Renders as: multiple ```` tags A widget that handles multiple hidden widgets for fields that have a list of values.