forked from caolan/forms
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpage.jsont
More file actions
59 lines (58 loc) · 1.49 KB
/
page.jsont
File metadata and controls
59 lines (58 loc) · 1.49 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
<html>
<head>
<title>Example Form</title>
<style>
form {
border-top: 1px dashed #ccc;
width: 375px;
}
label {
position: relative;
width: 200px;
top: 6px;
}
.required label {
font-weight: bold;
}
.field {
border-bottom: 1px dashed #ccc;
padding: 10px 5px 15px 5px;
position: relative;
}
.field input, .field select, .field textarea {
margin: -20px 0 0 175px;
width: 180px;
}
.field textarea {
margin-top: -15px;
}
.field input[type='checkbox'] {
position: relative;
margin-left: 32px;
top: 4px;
}
.field fieldset input {
margin: 0;
width: 20px;
}
.error {
background: #ffcccc;
}
.error_msg {
color: red;
margin: -15px 0 0 0;
padding: 5px 0;
}
input[type='submit'] {
margin-top: 20px;
}
</style>
</head>
<body>
<h1>Example Form</h1>
<form action="" method="GET">
{form}
<input type="submit" />
</form>
</body>
</html>