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)
|
17
|
+
{:value => localized(value)}
|
18
18
|
end
|
19
19
|
|
20
|
-
def
|
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
|
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
|