Permalink
Browse files

Updated README

  • Loading branch information...
1 parent 560a69f commit dcbdb1c3c9fee532212f69c897c884cdcfcba689 @rjshade rjshade committed Mar 30, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -5,3 +5,9 @@ A simple demo showing how to use the jQuery UI autocomplete widget in conjunctio
See it in action here: [rjshade.github.com/gmaps-autocomplete/](http://rjshade.github.com/gmaps-autocomplete/)
Some more explanation here: [rjshade.com/2012/03/30/Google-Maps-autocomplete-with-jQuery-UI](/[http://www.rjshade.com/2012/03/30/Google-Maps-autocomplete-with-jQuery-UI/)
+
+## Use with Rails form helpers
+I've had success using this with the [SimpleForm](https://github.com/plataformatec/simple_form) gem:
+
+ = simple_form_for(@post) do |f|
+ = f.input :address, :input_html =>{:id => 'gmaps-input-address'}, :placeholder => 'Start typing a place name...'

0 comments on commit dcbdb1c

Please sign in to comment.