diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index f4042072cb6..a4af74f8ce5 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -101,12 +101,14 @@ make the following changes:: 'attr' => ['class' => 'js-datepicker'], )); -Assuming you're using jQuery, you can initialize the date picker via: +Then, add the following JavaScript code in your template to initialize the date +picker: .. code-block:: html