X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c96b5b951c9d39a22cf770e2402ef296fa2a6dc4..12f9bedbf5a949752a45184e760eada952bf8fc2:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index e83261a2b..35e542699 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -1,15 +1,25 @@ + +
-
- - -
+ <%= start_form_tag :controller => 'geocoder', :action => 'search' %> + <%= text_field 'query', 'postcode'%> + <%= text_field 'query', 'place_name'%> + <%= submit_tag 'Search' %> + <%= end_form_tag %> +
+eg SW15 6JH +
+
+Essen +
-
+ + <% lon = params['lon'] || '-0.1' %> <% lat = params['lat'] || '51.5' %> -<% zoom = params['zoom'] || '5' %> +<% zoom = params['zoom'] || '4' %> - - - - - <% unless @user %> -
-
We're trialing the adverts below to support the project. Login and they go away. -
- <% end %> +