]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_search.rhtml
Rework the new Go button on the search form so that it actually stands
[rails.git] / app / views / site / _search.rhtml
index bdfc2fb57a44df4382054f82d520ad7420d34f93..f18587f737e2478dd4e0d77256f1d06a0df95930 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><%= 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>