Sha256: c7b72f1c7d969f77d522bf76558cb99283158b9818e86fc80ecdcaa36dfbf1d5
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
module GenericFormFor module Inputs class SearchInput include Base include String def input_html_options { :type => "search" }.merge(super) end def input_html(config_options={}) template.concat builder.text_field(method, merge_html_options(input_html_options,config_options)) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
generic_form_for-0.0.1 | lib/generic_form_for/inputs/search_input.rb |