]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_search.rhtml
Make data browser work with OpenLayers 2.7.
[rails.git] / app / views / site / _search.rhtml
index f18587f737e2478dd4e0d77256f1d06a0df95930..5b4e74b34f4b130c072b3f6754155c773a47db0c 100644 (file)
     <% form_remote_tag(:loading => "startSearch()",
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search }) do %>
     <% form_remote_tag(:loading => "startSearch()",
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search }) do %>
-      <table>
-        <tr>
-          <td><%= text_field_tag :query, h(params[:query]) %></td>
-          <td></td>
-          <td><%= submit_tag 'Go' %></td>
-        </tr>
-      </table>
+      <%= text_field_tag :query, h(params[:query]) %>
+      <%= submit_tag "Go" %>
     <% end %>
     </span>
     <p id="search_active">Searching...</p>
     <% end %>
     </span>
     <p id="search_active">Searching...</p>