- <% form_remote_tag(:before => "setSearchViewbox()",
- :loading => "startSearch()",
- :complete => "endSearch()",
- :url => { :controller => :geocoder, :action => :search },
- :html => { :method => "get", :action => url_for(:action => "index") }) do %>
- <%= text_field_tag :query, h(params[:query]), :tabindex => "1" %>
- <% if params[:action] == 'index' %>
- <%= hidden_field_tag :minlon %>
- <%= hidden_field_tag :minlat %>
- <%= hidden_field_tag :maxlon %>
- <%= hidden_field_tag :maxlat %>
- <% end %>