Rework form inputs validation
This commit is contained in:
parent
55005549e3
commit
5969c43208
2 changed files with 7 additions and 4 deletions
|
|
@ -500,26 +500,28 @@
|
|||
<label
|
||||
for="nogoWeight"
|
||||
data-i18n="loadNogos.nogoWeight"
|
||||
>No-go weight:
|
||||
>No-go weight (-1 means impassable):
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
name="nogoWeight"
|
||||
id="nogoWeight"
|
||||
value="-1"
|
||||
min="-1"
|
||||
/>
|
||||
</p>
|
||||
<p>
|
||||
<label
|
||||
for="nogoRadius"
|
||||
data-i18n="loadNogos.nogoRadius"
|
||||
>No-go radius (for points):
|
||||
>No-go radius for points (in meters):
|
||||
</label>
|
||||
<input
|
||||
type="number"
|
||||
name="nogoRadius"
|
||||
id="nogoRadius"
|
||||
value="20"
|
||||
min="0"
|
||||
/>
|
||||
</p>
|
||||
<p>
|
||||
|
|
@ -533,6 +535,7 @@
|
|||
name="nogoBuffer"
|
||||
id="nogoBuffer"
|
||||
value="0"
|
||||
min="0"
|
||||
/>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -64,8 +64,8 @@
|
|||
"file": "File (.geojson): ",
|
||||
"load": "Load",
|
||||
"nogoBuffer": "Buffer no-go areas (in meters): ",
|
||||
"nogoRadius": "No-go radius (for points): ",
|
||||
"nogoWeight": "No-go weight: ",
|
||||
"nogoRadius": "No-go radius for points (in meters): ",
|
||||
"nogoWeight": "No-go weight (-1 means impassable): ",
|
||||
"source": "Source",
|
||||
"title": "Load no-go areas",
|
||||
"url": "URL: "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue