Skip to content

Commit e02e64b

Browse files
committed
Merge pull request symfony#2699 from masterkaos/improving_label
Added note about setting the label to false
2 parents e3147da + 3dd42a4 commit e02e64b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/forms/types/options/label.rst.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ label
33

44
**type**: ``string`` **default**: The label is "guessed" from the field name
55

6-
Sets the label that will be used when rendering the field. The label can
7-
also be directly set inside the template:
6+
Sets the label that will be used when rendering the field. Setting to false
7+
will suppress the label. The label can also be directly set inside the template:
88

99
.. code-block:: jinja
1010

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy