hasDatePicker + active admin code example
Example: hasDatePicker + active admin
$(document).on 'focus', 'body.active_admin input.datepicker:not(.hasDatepicker)', ->
$(this).datepicker dateFormat: 'yy-mm-dd'
$(document).on 'focus', 'body.active_admin input.datepicker:not(.hasDatepicker)', ->
$(this).datepicker dateFormat: 'yy-mm-dd'