-
- <div class="tab-pane" id="by-place-id" role="tabpanel" class:active={api_request_params.place_id}>
- <form class="form-inline" action="details.html">
- <input type="edit"
- class="form-control form-control-sm"
- pattern="^[0-9]+$"
- name="place_id"
- placeholder="e.g. 12345"
- value="{api_request_params.place_id || ''}" />
- <input type="submit"
- class="btn btn-primary btn-sm"
- value="Show" />
- </form>
- </div>
-
- <div class="tab-pane" id="by-osm-url" role="tabpanel">
- <form on:submit|preventDefault={handleFormSubmit}
- id="form-by-osm-url"
- class="form-inline"
- action="details.html">
- <input type="url"
- class="form-control form-control-sm"
- pattern=".*openstreetmap.*"
- placeholder="e.g. https://www.openstreetmap.org/relation/123" />
- <input type="hidden" name="osmtype" />
- <input type="hidden" name="osmid" />
- <input type="submit" class="btn btn-primary btn-sm" value="Show" />
- </form>
- </div>
-</div>
+</form>
+<small class="form-text text-muted">
+ OSM type+id (<em>N123</em>,
+ <em>n123</em>,
+ <em>W123</em>,
+ <em>w123</em>,
+ <em>R123</em>,
+ <em>r123</em>),
+ Place id (<em>1234</em>) or
+ URL (<em>https://openstreetmap.org/way/123</em>)
+</small>