-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpostcode-error.html
75 lines (67 loc) · 2.67 KB
/
postcode-error.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{% extends "layouts/main.html" %}
{% block pageTitle %}
Content page template – {{ serviceName }} – GOV.UK Prototype Kit
{% endblock %}
{% block beforeContent %}
{{ govukBackLink({
text: "Back",
href: "javascript:window.history.back()"
}) }}
{% endblock %}
{% block content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-error-summary" data-module="govuk-error-summary">
<div role="alert">
<h2 class="govuk-error-summary__title">
There is a problem
</h2>
<div class="govuk-error-summary__body">
<ul class="govuk-list govuk-error-summary__list">
<p>
Entered postcode is not in your supported area
</p>
</ul>
</div>
</div>
</div>
<fieldset class="govuk-fieldset">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l">
<h1 class="govuk-fieldset__heading">
Enter referral details
</h1>
</legend>
<div class="govuk-form-group">
<label class="govuk-label" for="first-name-1">
First name
</label>
<input class="govuk-input" id="address-line-1" name="addressLine1" type="text" autocomplete="address-line1">
</div>
<div class="govuk-form-group">
<label class="govuk-label" for="address-line-2">
Last name
</label>
<input class="govuk-input" id="address-line-2" name="addressLine2" type="text" autocomplete="address-line2">
</div>
<div class="govuk-form-group">
<label class="govuk-label" for="address-town">
Preferred name
</label>
<input class="govuk-input govuk-!-width-two-thirds" id="address-town" name="addressTown" type="text" autocomplete="address-level2">
</div>
<div class="govuk-form-group govuk-form-group--error">
<label class="govuk-label" for="national-insurance-number">
Postcode
</label>
<div id="national-insurance-number-hint" class="govuk-hint">
Enter a postcode in your supported area
</div>
<p id="national-insurance-number-error" class="govuk-error-message">
<span class="govuk-visually-hidden">Error:</span> Entered postcode is not in your supported area
</p>
<input class="govuk-input govuk-input--error" id="national-insurance-number" name="nationalInsuranceNumber" type="text" aria-describedby="national-insurance-number-hint national-insurance-number-error">
</div>
</fieldset>
</div>
</div>
{% endblock %}