Datepicker does not display the calendar
I have in my application a form where I can chose a date from a datepicker calendar. When I refresh my page, the datepicker calendar appears when clicking the form. This is the correct behaviour. However when I reach the same page from another page using a link, the calendar does not appear after clicking the form. I have to refresh the page in order to make the calendar visible. Here is my form page: # app/views/reservations/_form.html.erb ... <div class="row reservations"> <div class="span2 field"> <%= f.label :mydate %><br /> <%= f.text_field :mydate, class: "input-append date datepicker",