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

Commit

Permalink
0.1.5: Add optional wrapper_options to DateTimeInput
Browse files Browse the repository at this point in the history
Quiets a deprecation notice from heartcombo/simple_form#997
  • Loading branch information
ewr committed Apr 30, 2015
1 parent 081ee30 commit 489cd5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/inputs/date_time_input.rb
Expand Up @@ -6,7 +6,7 @@
# take care of filling it in.
#
class DateTimeInput < SimpleForm::Inputs::Base
def input
def input(wrapper_options=nil)
@builder.text_field(attribute_name,
input_html_options.reverse_merge(value: @builder.object.send(attribute_name)))
end
Expand Down
2 changes: 1 addition & 1 deletion lib/outpost/version.rb
@@ -1,3 +1,3 @@
module Outpost
VERSION = "0.1.4"
VERSION = "0.1.5"
end

0 comments on commit 489cd5f

Please sign in to comment.