]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
UI: viewbox parameter was set in wrong parameter order
[nominatim.git] / lib / template / search-html.php
index 58d3dbd7f2f033a9ac42a986a30994e9330b4953..02c338cd8cfe334a18018c4308b8ea195da9b0f2 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">