]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_search.rhtml
Tidy up diary code a bit.
[rails.git] / app / views / site / _search.rhtml
index d4214e8fe98b89f0e524805d8f4ea89ebdbc0f84..5b4e74b34f4b130c072b3f6754155c773a47db0c 100644 (file)
     <% form_remote_tag(:loading => "startSearch()",
                        :complete => "endSearch()",
                        :url => { :controller => :geocoder, :action => :search }) do %>
-      <table>
-        <tr>
-          <td width="100%"><%= 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>