X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b2b6892a4553eeaa8d601737dee440eba0c6d6a6..cdb9d2527a8524eea02856c27fff10ad5c138344:/app/views/site/index.rhtml 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 %>
-
- - + 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(); +// --> +