]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - dist/reversepage.hbs
details page: addressline.isaddress is a boolean, not t/f string
[nominatim-ui.git] / dist / reversepage.hbs
index 646c72625b1b4d24b24d1730946a6e5102b23e44..43c60f3c56669c1dfab1e36c3277b2d9720d17c2 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>