-
Notifications
You must be signed in to change notification settings - Fork 1
/
template.html
52 lines (45 loc) · 1.05 KB
/
template.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
<html lang="en">
<head>
<style>
body {
color: #404040;
font-size: 1.1rem;
font-weight: 400;
font-family: sans-serif;
}
#wrapper {
max-width: 1200px;
padding: 20px;
}
h1 {
font-size: 2rem;
margin-top: 0;
margin-bottom: 1.5rem;
}
p {
margin: 0;
}
strong {
display: block;
padding-top: 1rem;
border-top: 1px solid #ddd;
margin-top: 1rem;
margin-bottom: 6px;
}
</style>
</head>
<body>
<div id="wrapper">
<h1>New {{or .Form.Name .Form.ID}} submission</h1>
{{- range $key := .Order -}}
<p><strong>{{ $key }}</strong></p>
{{- $value := index $.Values $key -}}
{{- if (isSlice $value) }}{{ range $i, $v := $value -}}
<p>{{ $v }}</p>
{{- end }}{{ else -}}
<p>{{ $value }}</p>
{{- end -}}
{{- end -}}
</div>
</body>
</html>