ui_datepicker-rails3 1.1.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,12 +14,12 @@ module SimpleForm
14
14
  end
15
15
 
16
16
  def date_picker_options(value = nil)
17
- {:value => localized(value), :class => css_class}
17
+ {:value => localized(value)}
18
18
  end
19
19
 
20
- def css_class
21
- "ui-date-picker"
20
+ def input_html_classes
21
+ super.push("ui-date-picker")
22
22
  end
23
23
  end
24
24
  end
25
- end
25
+ end
@@ -3,9 +3,9 @@ require 'simple_form/inputs/ui_date_picker_input'
3
3
  module SimpleForm
4
4
  module Inputs
5
5
  class UiDateTimePickerInput < UiDatePickerInput
6
- def css_class
7
- "ui-datetime-picker"
8
- end
6
+ def input_html_classes
7
+ super.push("ui-datetime-picker")
8
+ end
9
9
  end
10
10
  end
11
- end
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ui_datepicker-rails3
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: