views/zonkers.html (view raw)
1{{ template "header.html" . }}
2<main>
3<div class="info">
4<p>
5Work in progress
6</div>
7{{ $zonkcsrf := .ZonkCSRF }}
8{{ range $how, $filters := .Filters }}
9{{ range $filters }}
10<section class="honk">
11<p>How: {{ $how }}
12{{ with .Actor }}<p>Who: {{ . }}{{ end }}
13{{ with .Text }}<p>What: {{ . }}{{ end }}
14<form action="/zonkzonk" method="POST">
15<input type="hidden" name="CSRF" value="{{ $zonkcsrf }}">
16<input type="hidden" name="zonkerid" value="{{ .ID }}">
17<input type="hidden" name="itsok" value="iforgiveyou">
18<button name="pardon" value="pardon">pardon</button>
19</form>
20<p>
21</section>
22{{ end }}
23{{ end }}
24</main>