-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexamples-form.html
More file actions
109 lines (88 loc) · 4.52 KB
/
examples-form.html
File metadata and controls
109 lines (88 loc) · 4.52 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!doctype html>
<!--[if lt IE 7 ]> <html class="ie ie6 ie-lt10 ie-lt9 ie-lt8 ie-lt7 no-js" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="ie ie7 ie-lt10 ie-lt9 ie-lt8 no-js" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="ie ie8 ie-lt10 ie-lt9 no-js" lang="en"> <![endif]-->
<!--[if IE 9 ]> <html class="ie ie9 ie-lt10 no-js" lang="en"> <![endif]-->
<!--[if gt IE 9]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<meta charset="utf-8">
<title>GOV.UK</title>
<meta name="author" content="Tom Harrop" />
<meta name="Copyright" content="Open Government Licence v3.0, except where otherwise stated" />
<!--[if gt IE 8]><!--><link href="govuk-assets/stylesheets/govuk-template.css?0.12.0" media="screen" rel="stylesheet" type="text/css" /><!--<![endif]-->
<!--[if IE 6]><link href="govuk-assets/stylesheets/govuk-template-ie6.css?0.12.0" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if IE 7]><link href="govuk-assets/stylesheets/govuk-template-ie7.css?0.12.0" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if IE 8]><link href="govuk-assets/stylesheets/govuk-template-ie8.css?0.12.0" media="screen" rel="stylesheet" type="text/css" /><![endif]-->
<link href="govuk-assets/stylesheets/govuk-template-print.css?0.12.0" media="print" rel="stylesheet" type="text/css" />
<link href="govuk-assets/application.css" media="all" rel="stylesheet" type="text/css" />
<link href="govuk-assets/stylesheets/fonts.css?0.12.0" media="all" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/jquery.min.js"></script>
<script type="text/javascript" src="scripts/form.storage.js"></script>
<script type="text/javascript" src="scripts/application.js"></script>
<script type="text/javascript" src="scripts/details.polyfill.js"></script>
<link rel="stylesheet" type="text/css" href="stylesheets/styles.css" />
</head>
<body>
<header data-includefile="header"></header>
<main id="content" role="main">
<div data-includefile="banner-alpha"></div>
<!-- DELETE FROM HERE -->
<h1 class="heading-xlarge">Form Elements</h1>
<form name="test-form" class="form">
<h1 class="form-title heading-large">Your details</h1><!-- Full name -->
<div class="form-group">
<label class="form-label-bold" for="full-name">Full name</label>
<p class="form-hint">As shown on your birth certificate or passport</p><input type=
"text" class="form-control" id="full-name" name="full-name" />
</div><!-- National Insurance number -->
<div class="form-group">
<label class="form-label-bold" for="ni-number">National Insurance number
<span class="form-hint">It's on your National Insurance card, benefit letter,
payslip or P60.<br />
For example, 'VO 12 34 56 D'.</span></label> <input type="text" class=
"form-control" id="ni-number" name="ni-number" />
</div><!-- Date of birth -->
<div class="form-group">
<fieldset>
<legend class="form-label-bold">Date of birth</legend>
<div class="form-date">
<p class="form-hint">For example, 31 3 1980</p>
<div class="form-group form-group-day">
<label for="dob-day">Day</label> <input class="form-control" id="dob-day"
type="number" pattern="[0-9]*" min="0" max="31" name="dob-day" />
</div>
<div class="form-group form-group-month">
<label for="dob-month">Month</label> <input class="form-control" id=
"dob-month" type="number" pattern="[0-9]*" min="0" max="12" name="dob-month" />
</div>
<div class="form-group form-group-year">
<label for="dob-year">Year</label> <input class="form-control" id="dob-year"
type="number" pattern="[0-9]*" min="0" max="2014" name="dob-year" />
</div>
</div>
</fieldset>
</div>
<details class="form-group">
<summary role="button" aria-controls="details-content-0" tabindex="0" aria-expanded="false">
<span class="summary">Help with date of birth</span>
</summary>
<div class="panel-indent" id="details-content-0" aria-hidden="true" style="display: none;">
<p>If you don’t know your exact date of birth, use the one you put on
official documents (for example, your passport or driving licence).</p>
<p>If you can’t provide your date of birth you’ll have to send copies
of identity documents through the post.</p>
</div>
</details>
<div class="form-group">
<a class="button" href="examples-toggle.html">Continue</a>
<ul>
<li><a href="#">Skip this section for now</a></li>
<li><a href="#">Back</a></li>
</ul>
</div>
</form>
<!-- STOP DELETING! -->
</main>
<footer data-includefile="footer"></footer>
</body>
</html>