- <input name="street" type="text" class="form-control form-control-sm mr-1"
- placeholder="House number/Street"
- value="{api_request_params.street || ''}" />
- <input name="city" type="text" class="form-control form-control-sm mr-1"
- placeholder="City"
- value="{api_request_params.city || ''}" />
- <input id="county" name="county" type="text" class="form-control form-control-sm mr-1"
- placeholder="County"
- value="{api_request_params.county || ''}" />
- <input name="state" type="text" class="form-control form-control-sm mr-1"
- placeholder="State"
- value="{api_request_params.state || ''}" />
- <input name="country" type="text" class="form-control form-control-sm mr-1"
- placeholder="Country"
- value="{api_request_params.country || ''}" />
- <input name="postalcode" type="text" class="form-control form-control-sm mr-1"
- placeholder="Postal Code"
- value="{api_request_params.postalcode || ''}" />
-
- <button type="submit" class="btn btn-primary btn-sm">Search</button>
- <input type="hidden" name="viewbox" value="{sViewBox || ''}" />
- <input type="hidden" name="dedupe" value="{!api_request_params.dedupe ? '' : 1}" />
- <input type="hidden" name="bounded" value="{api_request_params.bounded ? 1 : ''}" />
- <input type="hidden" name="accept-language" value="{api_request_params['accept-language'] || ''}" />
- <input type="hidden" name="countrycodes" value="{api_request_params.countrycodes || ''}" />
- <input type="hidden" name="limit" value="{api_request_params.limit || ''}" />
- <input type="hidden" name="polygon_threshold" value="{api_request_params.polygon_threshold || ''}" />
+ <div class="col-auto">
+ <input name="street" type="text" class="form-control form-control-sm me-1"
+ placeholder="House number/Street"
+ value="{api_request_params.street || ''}" />
+ </div>
+ <div class="col-auto">
+ <input name="city" type="text" class="form-control form-control-sm me-1"
+ placeholder="City"
+ value="{api_request_params.city || ''}" />
+ </div>
+ <div class="col-auto">
+ <input id="county" name="county" type="text" class="form-control form-control-sm me-1"
+ placeholder="County"
+ value="{api_request_params.county || ''}" />
+ </div>
+ <div class="col-auto">
+ <input name="state" type="text" class="form-control form-control-sm me-1"
+ placeholder="State"
+ value="{api_request_params.state || ''}" />
+ </div>
+ <div class="col-auto">
+ <input name="country" type="text" class="form-control form-control-sm me-1"
+ placeholder="Country"
+ value="{api_request_params.country || ''}" />
+ </div>
+ <div class="col-auto">
+ <input name="postalcode" type="text" class="form-control form-control-sm me-1"
+ placeholder="Postal Code"
+ value="{api_request_params.postalcode || ''}" />
+ </div>
+ <div class="col-auto">
+ <button type="submit" class="btn btn-primary btn-sm">Search</button>
+ <input type="hidden"
+ name="viewbox" value="{sViewBox || ''}" />
+ <input type="hidden"
+ name="dedupe" value="{api_request_params.dedupe === 0 ? 0 : 1}" />
+ <input type="hidden"
+ name="bounded" value="{api_request_params.bounded ? 1 : ''}" />
+ <input type="hidden"
+ name="accept-language" value="{api_request_params['accept-language'] || ''}" />
+ <input type="hidden"
+ name="countrycodes" value="{api_request_params.countrycodes || ''}"
+ pattern="^[a-zA-Z]{'{2}'}(,[a-zA-Z]{'{2}'})*$" />
+ <input type="hidden"
+ name="limit" value="{api_request_params.limit || ''}" />
+ <input type="hidden"
+ name="polygon_threshold" value="{api_request_params.polygon_threshold || ''}" />
+ </div>