Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 489cd5f

Browse files
committed
0.1.5: Add optional wrapper_options to DateTimeInput
Quiets a deprecation notice from heartcombo/simple_form#997
1 parent 081ee30 commit 489cd5f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/inputs/date_time_input.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# take care of filling it in.
77
#
88
class DateTimeInput < SimpleForm::Inputs::Base
9-
def input
9+
def input(wrapper_options=nil)
1010
@builder.text_field(attribute_name,
1111
input_html_options.reverse_merge(value: @builder.object.send(attribute_name)))
1212
end

lib/outpost/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Outpost
2-
VERSION = "0.1.4"
2+
VERSION = "0.1.5"
33
end

0 commit comments

Comments
 (0)