Sha256: 27324f5319f7e9d606b6a9d65c1e4263c3870df8e1153f190028017fad3e8d86
Contents?: true
Size: 579 Bytes
Versions: 79
Compression:
Stored size: 579 Bytes
Contents
module ActionView module Helpers module Tags # :nodoc: class SearchField < TextField # :nodoc: def render options = @options.stringify_keys if options["autosave"] if options["autosave"] == true options["autosave"] = request.host.split(".").reverse.join(".") end options["results"] ||= 10 end if options["onsearch"] options["incremental"] = true unless options.has_key?("incremental") end super end end end end end
Version data entries
79 entries across 79 versions & 5 rubygems