Sha256: bef203755d629ffccdb9becf70bbfe320c96e9e2affa326ec577e78c147c41a2
Contents?: true
Size: 462 Bytes
Versions: 20
Compression:
Stored size: 462 Bytes
Contents
module SimpleForm module Inputs class AutocompleteInput < Base def input @builder.autocomplete_field(attribute_name, options[:url], input_html_options) end protected def limit column && column.limit end def has_placeholder? placeholder_present? end end end end module SimpleForm class FormBuilder map_type :autocomplete, :to => SimpleForm::Inputs::AutocompleteInput end end
Version data entries
20 entries across 20 versions & 2 rubygems