I am trying to
I have a starts_at:datetime
field and I want to fill the form with using bootstrap-datetimepicker
Here is my form:
= simple_form_for @event do |f|
= f.input :title
= f.input :starts_at
= f.button :submit
My main.js file:
$(document).ready(function(){
$(".form_datetime").datetimepicker({format: 'yyyy-mm-dd'});
});
How can I give the starts_at
the datettimepicker input style?