Sha256: 340ef9db19257fe3e472a6056adb11eacce6bbec017346eb6e298a7144ec2805

Contents?: true

Size: 211 Bytes

Versions: 7

Compression:

Stored size: 211 Bytes

Contents

class NeighborhoodInput < SimpleForm::Inputs::StringInput
  def input(wrapper_options)
    input_html_options[:data] ||= {}
    input_html_options[:data].merge!({ provider: 'neighborhood' })
    super
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
autocomplete_zipcode-1.2.0 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb
autocomplete_zipcode-1.1.0 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb
autocomplete_zipcode-0.1.2.1 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb
autocomplete_zipcode-0.1.2 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb
autocomplete_zipcode-0.1.1 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb
autocomplete_zipcode-0.1.0 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb
autocomplete_zipcode-0.0.1 lib/autocomplete_zipcode/simple_form/neighborhood_input.rb