summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-08-02 22:40:53 +0200
committerGitHub <noreply@github.com>2024-08-02 17:40:53 -0300
commit6d3464cff0c3e9cd624cf7cdc04d7427dc542d2f (patch)
treec6c2bc43ddc1ea3139e4a582663331bdf6f72cd6 /docs/ref/forms
parenta16f13a8661297eda12c4177bb01fa2e5b5ccc56 (diff)
Refs #35601, Refs #35599 -- Made cosmetic edits to TelInput/ColorInput docs.
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/widgets.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 0a7a415583..dd2ba0ac4c 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -567,7 +567,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
* ``input_type``: ``'color'``
* ``template_name``:``'django/forms/widgets/color.html'``
- * Renders as: ``<input type='color' ...>``
+ * Renders as: ``<input type="color" ...>``
``SearchInput``
~~~~~~~~~~~~~~~
@@ -581,7 +581,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
* Renders as: ``<input type="search" ...>``
``TelInput``
-~~~~~~~~~~~~~~
+~~~~~~~~~~~~
.. versionadded:: 5.2
@@ -598,9 +598,7 @@ These widgets make use of the HTML elements ``input`` and ``textarea``.
Additionally, you can add server-side validation to your form field with a
validator like :class:`~django.core.validators.RegexValidator` or via
- third-party packages, such as `django-phonenumber-field`_.
-
-.. _django-phonenumber-field: https://django-phonenumber-field.readthedocs.io/en/latest/index.html
+ third-party packages, such as :pypi:`django-phonenumber-field`.
``PasswordInput``
~~~~~~~~~~~~~~~~~