]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - src/templates/searchpage.hbs
detailpage: add warning if too many child address lines
[nominatim-ui.git] / src / templates / searchpage.hbs
index 0298f448ad70c3ca890019dd3d57bac694a06128..7f574b0d7ff0a55728a391b9e050259940fdee28 100644 (file)
@@ -6,10 +6,10 @@
         {{/if}}
 
         <span class="name">{{aResult.display_name}}</span>
-        <span class="type">{{formatLabel aResult}}</span>
+        <span class="type">({{formatLabel aResult}})</span>
         <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>  
 
-        <a class="btn btn-default btn-xs details" href="details?place_id={{aResult.place_id}}">details</a>
+        <a class="btn btn-default btn-xs details" href="details.html?place_id={{aResult.place_id}}">details</a>
     </div>
 {{/inline}}
 
@@ -21,7 +21,7 @@
     <div class="form-group search-button-group">
         <button type="submit" class="btn btn-primary btn-sm">Search</button>
         {{#if env.Search_AreaPolygons}}
-            <input type="hidden" value="1" name="polygon" />
+            <input type="hidden" value="1" name="polygon_geojson" />
         {{/if}}
         <input type="hidden" name="viewbox" value="{{sViewBox}}" />
         <div class="checkbox-inline">