]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/reverse.html
details page: addressline.isaddress is a boolean, not t/f string
[nominatim-ui.git] / dist / reverse.html
index 4d0ed45256e2bf3f98ebea660c1fac5d12cea3f1..390a812a9154548fd5184d2c602753e4dded0d29 100644 (file)
     <span class="type">{{formatLabel aResult}}</span>
     <p class="coords">{{aResult.lat}},{{aResult.lon}}</p>  
 
-    <a class="btn btn-default btn-xs details" href="details.html?place_id={{aResult.place_id}}">details</a>
+    <a class="btn btn-default btn-xs details"
+       href="details.html?osmtype={{shortOSMType aResult.osm_type}}&osmid={{aResult.osm_id}}">details</a>
   </div>
 {{/inline}}
 
 <form class="form-inline" role="search" accept-charset="UTF-8" action="">
   <div class="form-group">
     <input name="format" type="hidden" value="html">
-    <input name="lat" type="text" class="form-control input-sm" placeholder="latitude"  value="{{fLat}}">
+    <input name="lat"
+           type="text"
+           class="form-control input-sm"
+           placeholder="latitude"
+           value="{{fLat}}" />
     <span id="switch-coords">&lt;&gt;</span>
-    <input name="lon" type="text" class="form-control input-sm" placeholder="longitude" value="{{fLon}}">
+    <input name="lon"
+           type="text"
+           class="form-control input-sm"
+           placeholder="longitude"
+           value="{{fLon}}" />
     max zoom
     <select name="zoom" class="form-control input-sm" value="{{iZoom}}">
       {{zoomLevels iZoom}}
     </select>
   </div>
   <div class="form-group search-button-group">
-    <button type="submit" class="btn btn-primary btn-sm">Search</button>
+    <button type="submit" class="btn btn-primary btn-sm">
+      Search
+    </button>
   </div>
   <div class="search-type-link">
     <a href="/search.html">forward search</a>