]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_search.rhtml
Try and make browsers display the search box sanely.
[rails.git] / app / views / site / _search.rhtml
index bdfc2fb57a44df4382054f82d520ad7420d34f93..d4214e8fe98b89f0e524805d8f4ea89ebdbc0f84 100644 (file)
     <% form_remote_tag(:loading => "startSearch()",
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search }) do %>
-      <%= text_field_tag :query, h(params[:query]) %>
+      <table>
+        <tr>
+          <td width="100%"><%= text_field_tag :query, h(params[:query]) %></td>
+          <td></td>
+          <td><%= submit_tag 'Go' %></td>
+        </tr>
+      </table>
     <% end %>
     </span>
     <p id="search_active">Searching...</p>