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