bernat / best_in_place

A RESTful unobtrusive jQuery Inplace-Editor and a helper as a Rails Gem
http://blog.bernatfarrero.com/in-place-editing-with-javascript-jquery-and-rails-3/
1.2k stars 574 forks source link

datepicker not working (CSS/JS issues) #548

Open alaarab opened 8 years ago

alaarab commented 8 years ago

Hello, when I am using

<%= best_in_place site, :somedatefield, :as => :date, :inner_class => 'form-control' %>

The javascript generates incorrect HTML, which does not match up with jquery-UI CSS files. It is generating code with class datepicker, with further incorrect HTML. It should generate code with ui-datepicker CSS.