X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b2b6892a4553eeaa8d601737dee440eba0c6d6a6..1d06a4eef19bc91c11543f09648788593302e364:/app/views/site/index.rhtml?ds=sidebyside
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index fb5327b81..6971e5faa 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -1,76 +1,67 @@
+
+
-
+ <%= start_form_tag :controller => 'way_tag', :action => 'search' %>
+ <%= text_field 'query', 'query'%>
+ <%= submit_tag 'Search' %>
+ <%= end_form_tag %>
-
-
-
+
- map.addLayers([jpl_wms, osm_wms]);
- map.zoomToFullExtent();
- }
+
+ function init(){
-
-<% unless @user %>
-
- We're trialing adverts to support the project. Login and they go away.
-
- <% end %>
+ map.addControl(new OpenLayers.Control.LayerSwitcher());
+ map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);
-
+init();
+// -->
+