method
to_number_field_tag
rails latest stable - Class:
ActionView::Helpers::InstanceTagMethods
to_number_field_tag(field_type, options = {})public
No documentation available.
# File actionpack/lib/action_view/helpers/form_helper.rb, line 924
def to_number_field_tag(field_type, options = {})
options = options.stringify_keys
if range = options.delete("in") || options.delete("within")
options.update("min" => range.min, "max" => range.max)
end
to_input_field_tag(field_type, options)
end