]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
UI: keep map position when switch to reverse. Easy switching of lat,lon to lon,lat
[nominatim.git] / lib / template / search-html.php
index 58d3dbd7f2f033a9ac42a986a30994e9330b4953..14ebacc8020e079b6dee354d5d1d653273521620 100644 (file)
             <?php } ?>
             <input type="hidden" name="viewbox" value="<?php echo $sViewBox; ?>" />
             <div class="checkbox-inline">
-                <label>
-                    <input type="checkbox" id="use_viewbox" <?php if ($sViewBox) echo "checked='checked'"; ?>>
-                    apply viewbox
-                </label>
+                <input type="checkbox" id="use_viewbox" <?php if ($sViewBox) echo "checked='checked'"; ?>>
+                <label for="use_viewbox">apply viewbox</label>
             </div>
         </div>
         <div class="search-type-link">
-            <a href="<?php echo CONST_Website_BaseURL; ?>reverse.php?format=html">reverse search</a>
+            <a id="switch-to-reverse" href="<?php echo CONST_Website_BaseURL; ?>reverse.php?format=html">reverse search</a>
         </div>
     </form>