lib/formtastic/inputs/hidden_input.rb in formtastic-2.1.1 vs lib/formtastic/inputs/hidden_input.rb in formtastic-2.2.0.rc
- old
+ new
@@ -32,10 +32,10 @@
include Base
# Override to include :value set directly from options hash. The :value set in :input_html
# hash will be preferred over :value set directly in the options.
#
- # @todo this is inconsistent with all other inputs, deprecate and remove
+ # @deprecated :value option
def input_html_options
options.slice(:value).merge(super).merge(:required => nil).merge(:autofocus => nil)
end
def to_html
\ No newline at end of file