- <% form_remote_tag(:before => "setSearchViewbox()",
- :loading => "startSearch()",
- :complete => "endSearch()",
- :url => { :controller => :geocoder, :action => :search },
- :html => { :id => "search_form", :method => "get", :action => url_for(:action => "index") }) do %>
+ <%= form_tag({ :controller => :geocoder, :action => :search },
+ { :id => "search_form", :remote => true, :method => "get", :action => url_for(:action => "index") }) do %>