Skip to content

Commit df3a504

Browse files
committed
[reference][forms] Removing ticks on reference field title as it caused the page title to contain HTML
1 parent 6b26f95 commit df3a504

26 files changed

+74
-72
lines changed

reference/forms/types/birthday.rst

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; birthday
33

4-
``birthday`` Field Type
5-
=======================
4+
birthday Field Type
5+
===================
66

77
A special :doc:`date</reference/forms/types/date>` field that specializes
88
in handling birthdate data.
@@ -13,25 +13,25 @@ This type is essentially the same as the ``date`` type, but with a more appropri
1313
default for the ``years`` option. The ``years`` option defaults to 120
1414
years ago to the current year.
1515

16-
+----------------------+-----------------------------------------------------------------------------------------------------+
17-
| Underlying Data Type | can be ``DateTime``, ``string``, ``timestamp``, or ``array`` (see :ref:`form-reference-date-input`) |
18-
+----------------------+-----------------------------------------------------------------------------------------------------+
19-
| Rendered as | can be three select boxes or a text box, based on the ``widget`` option |
20-
+----------------------+-----------------------------------------------------------------------------------------------------+
21-
| Options | - ``widget`` |
22-
| | - ``input`` |
23-
| | - ``years`` |
24-
| | - ``months`` |
25-
| | - ``days`` |
26-
| | - ``format`` |
27-
| | - ``pattern`` |
28-
| | - ``data_timezone`` |
29-
| | - ``user_timezone`` |
30-
+----------------------+-----------------------------------------------------------------------------------------------------+
31-
| Parent type | :doc:`date</reference/forms/types/date>` |
32-
+----------------------+-----------------------------------------------------------------------------------------------------+
33-
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\BirthdayType` |
34-
+----------------------+-----------------------------------------------------------------------------------------------------+
16+
+----------------------+------------------------------------------------------------------------------------------------------------------------+
17+
| Underlying Data Type | can be ``DateTime``, ``string``, ``timestamp``, or ``array`` (see the :ref:`input option <form-reference-date-input>`) |
18+
+----------------------+------------------------------------------------------------------------------------------------------------------------+
19+
| Rendered as | can be three select boxes or a text box, based on the ``widget`` option |
20+
+----------------------+------------------------------------------------------------------------------------------------------------------------+
21+
| Options | - ``widget`` |
22+
| | - ``input`` |
23+
| | - ``years`` |
24+
| | - ``months`` |
25+
| | - ``days`` |
26+
| | - ``format`` |
27+
| | - ``pattern`` |
28+
| | - ``data_timezone`` |
29+
| | - ``user_timezone`` |
30+
+----------------------+------------------------------------------------------------------------------------------------------------------------+
31+
| Parent type | :doc:`date</reference/forms/types/date>` |
32+
+----------------------+------------------------------------------------------------------------------------------------------------------------+
33+
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\BirthdayType` |
34+
+----------------------+------------------------------------------------------------------------------------------------------------------------+
3535

3636
Options
3737
-------

reference/forms/types/checkbox.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; checkbox
33

4-
``checkbox`` Field Type
5-
=======================
4+
checkbox Field Type
5+
===================
66

77
Creates a single input checkbox. This should always be used for a field that
88
has a Boolean value: if the box is checked, the field will be set to true,

reference/forms/types/choice.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; choice
33

4-
``choice`` Field Type
5-
=====================
4+
choice Field Type
5+
=================
66

77
A multi-purpose field used to allow the user to "choose" one or more options.
88
It can be rendered as a ``select`` tag, radio buttons, or checkboxes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Forms; Fields; collection
33

4-
``collection`` Field Type
5-
=========================
4+
collection Field Type
5+
=====================
66

77
See :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\CollectionType`.

reference/forms/types/country.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; country
33

4-
``country`` Field Type
5-
======================
4+
country Field Type
5+
==================
66

77
The ``country`` type is a subset of the ``ChoiceType`` that displays countries
88
of the world. As an added bonus, the country names are displayed in the language

reference/forms/types/csrf.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; csrf
33

4-
``csrf`` Field Type
5-
===================
4+
csrf Field Type
5+
===============
66

77
The ``csrf`` type is a hidden input field containing a CSRF token.
88

reference/forms/types/date.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; date
33

4-
``date`` Field Type
5-
===================
4+
date Field Type
5+
===============
66

77
A field that allows the user to modify date information via a variety of
88
different HTML elements.
@@ -76,7 +76,9 @@ Options
7676

7777
* ``choice``: renders three select inputs. The order of the selects
7878
is defined in the ``pattern`` option.
79-
79+
80+
.. _form-reference-date-input:
81+
8082
* ``input`` [type: string, default: ``datetime``]
8183
The value of the input for the widget. Can be ``string``, ``datetime``
8284
or ``array``. The form type input value will be returned in the format

reference/forms/types/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; datetime
33

4-
``datetime`` Field Type
5-
=======================
4+
datetime Field Type
5+
===================
66

77
This field type allows the user to modify data that represents a specific
88
date and time (e.g. ``1984-06-05 12:15:30``).

reference/forms/types/entity.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. index::
22
single: Forms; Fields; choice
33

4-
``entity`` Field Type
5-
=====================
4+
entity Field Type
5+
=================
66

77
A special ``choice`` field that's designed to load options from a Doctrine
88
entity. For example, if you have a ``Category`` entity, you could use this

reference/forms/types/file.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Forms; Fields; file
33

4-
``file`` Field Type
5-
===================
4+
file Field Type
5+
===============
66

77
See :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FileType`.

0 commit comments

Comments
 (0)