X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b2b6892a4553eeaa8d601737dee440eba0c6d6a6..4e9fcb9b91b981fe8a8b5d67082b8a941fb7e9ff:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index fb5327b81..d6c2ed405 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 %>
-
- - + 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(); +// --> +