|
@@ -6,7 +6,6 @@
|
6
|
6
|
<style type="text/css">
|
7
|
7
|
.page {
|
8
|
8
|
width: 640px;
|
9
|
|
- padding: 8% 0 0;
|
10
|
9
|
margin: auto;
|
11
|
10
|
}
|
12
|
11
|
|
|
@@ -15,10 +14,9 @@
|
15
|
14
|
z-index: 1;
|
16
|
15
|
background: #FFFFFF;
|
17
|
16
|
max-width: 640px;
|
18
|
|
- margin: 0 auto 100px;
|
|
17
|
+ margin: 0 auto;
|
19
|
18
|
padding: 25px 45px 35px 45px;
|
20
|
19
|
text-align: center;
|
21
|
|
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
|
22
|
20
|
}
|
23
|
21
|
|
24
|
22
|
.form input, .form textarea {
|
|
@@ -53,21 +51,16 @@
|
53
|
51
|
.form button:hover, .form button:active, .form button:focus {
|
54
|
52
|
background: #43A047;
|
55
|
53
|
}
|
56
|
|
-
|
57
|
|
- h1 {
|
58
|
|
- font-family: sans-serif;
|
59
|
|
- font-variant: all-small-caps;
|
60
|
|
- font-size: 1.4em;
|
61
|
|
- margin: 0 0 0.9em 0;
|
62
|
|
- }
|
63
|
54
|
</style>
|
64
|
55
|
</head>
|
65
|
56
|
<body>
|
66
|
57
|
<div class="page">
|
67
|
58
|
<div class="form">
|
68
|
59
|
<form action="submit" method="post">
|
69
|
|
- <h1>Contact me</h1>
|
70
|
60
|
{{ .csrfField }}
|
|
61
|
+ {{- range $k, $v := .params }}
|
|
62
|
+ <input type="hidden" name="{{ $k | html }}" value="{{ $v | html }}">
|
|
63
|
+ {{- end }}
|
71
|
64
|
<input type="text" name="name" placeholder="Your name" required>
|
72
|
65
|
<input type="email" name="from" placeholder="Your e-mail address" required>
|
73
|
66
|
<textarea name="message" placeholder="Your message" required></textarea>
|