From 5969c4320851fca237c95eeabc68a830e82352a7 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Wed, 7 Aug 2019 11:12:54 +0200 Subject: [PATCH] Rework form inputs validation --- index.html | 7 +++++-- locales/en.json | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 556811a..779a1c1 100644 --- a/index.html +++ b/index.html @@ -500,26 +500,28 @@

@@ -533,6 +535,7 @@ name="nogoBuffer" id="nogoBuffer" value="0" + min="0" />

diff --git a/locales/en.json b/locales/en.json index a852873..5f50b54 100644 --- a/locales/en.json +++ b/locales/en.json @@ -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: "