Skip to content

Commit 0cb0a4f

Browse files
committed
Fix Sphinx link
1 parent acac19f commit 0cb0a4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/forms.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ the documentation for each type.
687687
:ref:`disable HTML5 validation <book-forms-html5-validation-disable>`
688688
or set the ``required`` option on your field to ``false``::
689689

690-
->add('dueDate', 'date', array(
690+
->add('dueDate', DateType::class, array(
691691
'widget' => 'single_text',
692692
'required' => false
693693
))
@@ -1143,8 +1143,8 @@ the choice is ultimately up to you.
11431143
return 'app_bundle_password';
11441144
}
11451145

1146-
Read the chapter ":doc:`/cookbook/form/create_custom_field_type.html`" for
1147-
more information.
1146+
Read the ":doc:`/cookbook/form/create_custom_field_type`" chapter for more
1147+
information.
11481148

11491149
.. tip::
11501150

0 commit comments

Comments
 (0)