//= require moment
//= require bootstrap-datetimepicker

$(function() {
  $(document).on('ready page:change', function() {
    $('input.datetime_picker').datetimepicker();
  });
});

//= require moment
//= require bootstrap-datetimepicker

$(document).on('ready page:change', function() {
  $('input.datetime_picker').datetimepicker();
  $('.input-group.datetime_picker .input-group-btn').on('click', function() {
    $(this).prev('input.datetime_picker').focus().click();
  });
});

Update datetime_picker.js so that the calendar icon works on click too.
Update datetime_picker.js so that the calendar icon works on click too.
