]> 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 43853dcf028b3293e531aa1e546dfd42c69e6b28..f18587f737e2478dd4e0d77256f1d06a0df95930 100644 (file)
     <% form_remote_tag(:loading => "startSearch()",
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search }) do %>
-      <%= text_field_tag :query, h(params[:query]) %>
-  
-      <%= submit_tag 'Go' %></td>
-      <% end %>
+      <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>
     </div>