README.md in will_pickdate-0.9.1 vs README.md in will_pickdate-0.9.2

- old
+ new

@@ -1,4 +1,38 @@ -gem_will_pickdate +Ruby Gem will_pickdate ================= -Ruby gem wrapping will_pickdate javascript widget giving support for rails datetime_select to render it instead of the usuall set of select boxes. \ No newline at end of file +Ruby gem wrapping will_pickdate javascript widget giving support for rails datetime_select to render it instead of the usuall set of select boxes. + +Usage +===== + +On your css (scss): + + @import "will_pickdate"; + +On your javascript (coffeescript): + + #= require will_pickdate + + # somewhere relevant for your app... + i = document.createElement "input" + if i.type != 'datetime' + $('input[type="datetime"]').will_pickdate({}) + +On your views: + + = form_form @thing do |f| &> + = f.datetime_field :starts_at %> + + +Customizing Looks +================= + + .wpd { + ... + } + +Customizing other stuff +======================= + +Check will_pickdate repo for the javascript opts ;)