Skip to content

Commit 59cd046

Browse files
author
Matthew Bellantoni
committed
Deprecate TimeInput.
1 parent d202668 commit 59cd046

File tree

3 files changed

+2
-217
lines changed

3 files changed

+2
-217
lines changed

lib/formtastic-bootstrap/inputs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Inputs
2525
# autoload :SelectInput
2626
autoload :StringInput, "formtastic-bootstrap/inputs/string_input"
2727
# autoload :TextInput
28-
# autoload :TimeInput
28+
autoload :TimeInput, "formtastic-bootstrap/inputs/time_input"
2929
# autoload :TimePickerInput
3030
# autoload :TimeSelectInput
3131
# autoload :TimeZoneInput
Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
module FormtasticBootstrap
22
module Inputs
33
class TimeInput < Formtastic::Inputs::TimeInput
4-
include Base
5-
include Base::Stringish
6-
include Base::Timeish
7-
8-
def to_html
9-
generic_input_wrapping do
10-
time_input_html
11-
end
12-
end
13-
4+
# This has been deprecated.
145
end
156
end
167
end

spec/inputs/time_input_spec.rb

Lines changed: 0 additions & 206 deletions
This file was deleted.

0 commit comments

Comments
 (0)