Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/routes/__tests__/upload.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
})
})
13 changes: 9 additions & 4 deletions server/views/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
<div class="govuk-grid-row">
Expand All @@ -24,17 +24,22 @@ <h2 class="govuk-error-summary__title">
</div>
</div>
</div>
<p class="govuk-hint">Upload either GeoJSON (.geojson), Geopackage (.gpkg) or Shape files (.zip)</p>
<p class="govuk-body">You can upload your boundary in any of the following formats:</p>
<ul class="govuk-list govuk-list--bullet">
<li>GeoJSON (.geojson)</li>
<li>Geopackage (.gpkg)</li>
<li>shapefile (.zip)</li>
</ul>
{{ govukFileUpload({
id: "boundary",
name: "boundary",
accept: ".zip,.geojson,.gpkg",
label: {
text: "Upload file"
text: "Upload a file"
},
javascript: true
}) }}
<button id="upload" type="submit" class="govuk-button" data-module="govuk-button">Upload</button>
<button id="upload" type="submit" class="govuk-button" data-module="govuk-button">Continue</button>

<details class="govuk-details">
<summary class="govuk-details__summary">
Expand Down
Loading