X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97978ceeb9047ec6894b822ca947a466c2462988..6fe1a503b61cdb1216625ef71d9134b009fd3af2:/app/views/site/index.rhtml?ds=sidebyside
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index 25cebdc23..78623603a 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -1,44 +1,67 @@
+
+
-
+ <%= start_form_tag :controller => 'site', :action => 'search' %>
+ <%= text_field 'query', 'query'%>
+ <%= submit_tag 'Search' %>
+ <%= end_form_tag %>
-
-
-
-
-
-
-
-
-<% unless @user %>
-
- We're trialing adverts to support the project. Login and they go away.
-
-<% end %>
+<% lon = params['lon'] || '-0.1' %>
+<% lat = params['lat'] || '51.5' %>
+<% zoom = params['zoom'] || '4' %>
+
+
+