all repos — honk @ 04d9c6af15787fd18142a0bc4924f28546058d81

my fork of honk

views/zonkers.html (view raw)

 1{{ template "header.html" . }}
 2<main>
 3<div class="info">
 4<p>
 5<form action="/zonkzonk" method="POST">
 6<span class="title">it's zonking time!</span>
 7<input type="hidden" name="CSRF" value="{{ .ZonkCSRF }}">
 8<p>
 9<input tabindex=1 type="text" name="name" value="" autocomplete=off> - name
10<p>
11<input type="radio" id="iszonker" name="wherefore" value="zonker">
12<label for="iszonker">Zonker</label>
13<p>
14<input type="radio" id="iszomain" name="wherefore" value="zomain">
15<label for="iszomain">Zomain</label>
16<p>
17<input type="radio" id="iszonvoy" name="wherefore" value="zonvoy">
18<label for="iszonvoy">Zonvoy</label>
19<p>
20<input type="radio" id="iszord" name="wherefore" value="zord">
21<label for="iszord">Zord</label>
22<p>
23<input type="radio" id="iszilence" name="wherefore" value="zilence">
24<label for="iszilence">Zilence</label>
25<p>
26<input type="radio" id="iszoggle" name="wherefore" value="zoggle">
27<label for="iszoggle">Zoggle</label>
28<p><br><button tabindex=1 name="zonk" value="zonk!">zonk!</button>
29</form>
30</div>
31{{ $zonkcsrf := .ZonkCSRF }}
32{{ range .Zonkers }}
33<section class="honk">
34<p>What: {{ .Name }}
35<p>Where: {{ .Wherefore }}
36<form action="/zonkzonk" method="POST">
37<input type="hidden" name="CSRF" value="{{ $zonkcsrf }}">
38<input type="hidden" name="zonkerid" value="{{ .ID }}">
39<input type="hidden" name="itsok" value="iforgiveyou">
40<button name="pardon" value="pardon">pardon</button>
41</form>
42<p>
43</section>
44{{ end }}
45</main>