Bootstrap 3 Datetimepicker with Rails form_for
问题 I am a new Rails developer and I am having trouble using the bootstrap3 datetimepicker together with my rails form_for to save to a DateTime attribute in my ScheduledAccess Model. The one I am using is from http://eonasdan.github.io/bootstrap-datetimepicker/ Code: .form-group = f.label :start_time datetimepicker1.input-group.date = f.text_field :start_time, class:"form-control", id:"scheduled_access_start_time" span.input-group-addon span.glyphicon.glyphicon-calendar .form-group = f.label