Good morning
I have tried to configure a datepicker in my form but it has not been possible, if the code is executed in a single template like this link , works without problems,
But in my case, I have a layout and a view, I have tried to integrate this but it does not work, this is what I have tried to do.
How can I adapt this?