X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4f826acfca0ede6b7d4868e8bb45a608c44582ce..12f9bedbf5a949752a45184e760eada952bf8fc2:/app/views/site/index.rhtml
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index 670f10a20..35e542699 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -1,9 +1,19 @@
+
+
-
+ <%= 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
+
+
@@ -36,7 +46,7 @@
function init(){
OpenLayers.Util.onImageLoadError = function() {
- this.src = "http://<%= SERVER_URL %>/javascript/img/404.png";
+ this.src = "http://www.openstreetmap.org/javascript/img/404.png";
}
map = new OpenLayers.Map( "map",
{maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxZoomLevel:18, maxResolution:156543, units:'meters', projection: "EPSG:41001"} );