ui_datepicker-rails3 1.1.2 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
|