diff --git a/reference/forms/types/date.rst b/reference/forms/types/date.rst index f4042072cb6..3ad7855d207 100644 --- a/reference/forms/types/date.rst +++ b/reference/forms/types/date.rst @@ -101,7 +101,8 @@ 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
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: