I'm currently trying to implement an autocomplete location field but I'm unable to figure out how to get it working.
Here is an example of what I'm trying to accomplish, except the map, I just need to enter a location and save the data to a model. Unfortunately the linked repo's example only shows how to use simple_form_for
. I'm currently using bootstrap_form_for
and can't figure out how to make it work.
Same with gmaps-autocomplete-rails and using semantic_form_for
.
I'm still trying to figure out where all the .js goes, and how it's setting up / working together with Rails.
Any examples or tutorials would be greatly appreciated.
Thanks for your help.