modified to use djhi's versions of autoform and bootstrap3-datetimepicker