diff --git a/server/routes/__tests__/upload.spec.js b/server/routes/__tests__/upload.spec.js index 518a75c3..cba496d4 100644 --- a/server/routes/__tests__/upload.spec.js +++ b/server/routes/__tests__/upload.spec.js @@ -5,7 +5,7 @@ const { submitGetRequest } = require('../../__test-helpers__/server') describe('Upload route', () => { describe('GET', () => { it('should return the upload view', async () => { - await submitGetRequest({ url }, 'Upload a prepared site boundary') + await submitGetRequest({ url }, 'Upload a site boundary') }) }) }) diff --git a/server/views/upload.html b/server/views/upload.html index 9cad50b2..56782eac 100644 --- a/server/views/upload.html +++ b/server/views/upload.html @@ -3,7 +3,7 @@ {% from "file-upload/macro.njk" import govukFileUpload %} {% from "error-summary/macro.njk" import govukErrorSummary %} -{% set pageTitle = 'Upload a prepared site boundary' %} +{% set pageTitle = 'Upload a site boundary' %} {% block content %}
@@ -24,17 +24,22 @@

-

Upload either GeoJSON (.geojson), Geopackage (.gpkg) or Shape files (.zip)

+

You can upload your boundary in any of the following formats:

+ {{ govukFileUpload({ id: "boundary", name: "boundary", accept: ".zip,.geojson,.gpkg", label: { - text: "Upload file" + text: "Upload a file" }, javascript: true }) }} - +