date picker does not show in Rails unless refresh
问题 I put the date picker in a form in Rails (v4.1.8). And I use eyecon datepicker (disabling dates in the past). http://www.eyecon.ro/bootstrap-datepicker/ <div class="form-group"> <label for="expiration" class="col-sm-2 control-label"> Expiration </label> <div class="col-sm-10"> <input type="text" class="span2 form-control" name="expiration" id="dpd1" data-date-format="yyyy-mm-dd"> </div> </div> If I was directed to this page, the date picker does not show up when I click the date form. However