Skip to content

Commit 95b4d40

Browse files
author
atmosf3ar
committed
Update forms.rst
Hi there, I thought it would be nice to specify that you can set a label to false to disable it. I needed it for a project, couldn't find it in the doc, and had to search through a couple of stackoverflow posts to find the solution.
1 parent 003230f commit 95b4d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/forms.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ the documentation for each type.
645645
))
646646

647647
The label for a field can also be set in the template rendering the
648-
form, see below.
648+
form, see below. If you don't need a label associated to your input, you can disable it by setting it's value to 'false'.
649649

650650
.. index::
651651
single: Forms; Field type guessing

0 commit comments

Comments
 (0)