honk/views/zonkers.html

46 lines
1.4 KiB
HTML
Raw Normal View History

{{ template "header.html" . }}
<main>
<div class="info">
<p>
2019-06-02 04:58:46 +02:00
<form action="/zonkzonk" method="POST">
<span class="title">it's zonking time!</span>
<input type="hidden" name="CSRF" value="{{ .ZonkCSRF }}">
<p>
<input tabindex=1 type="text" name="name" value="" autocomplete=off> - name
<p>
<input type="radio" id="iszonker" name="wherefore" value="zonker">
<label for="iszonker">Zonker</label>
<p>
2019-06-24 04:21:59 +02:00
<input type="radio" id="iszomain" name="wherefore" value="zomain">
<label for="iszomain">Zomain</label>
<p>
<input type="radio" id="iszonvoy" name="wherefore" value="zonvoy">
<label for="iszonvoy">Zonvoy</label>
2019-05-31 00:29:59 +02:00
<p>
2019-06-24 04:21:59 +02:00
<input type="radio" id="iszord" name="wherefore" value="zord">
<label for="iszord">Zord</label>
<p>
<input type="radio" id="iszilence" name="wherefore" value="zilence">
<label for="iszilence">Zilence</label>
2019-09-28 23:40:24 +02:00
<p>
<input type="radio" id="iszoggle" name="wherefore" value="zoggle">
<label for="iszoggle">Zoggle</label>
2019-06-02 04:58:46 +02:00
<p><br><input tabindex=1 type="submit" name="zonk" value="zonk!">
</form>
</div>
2019-06-02 04:58:46 +02:00
{{ $zonkcsrf := .ZonkCSRF }}
{{ range .Zonkers }}
<section class="honk">
<p>What: {{ .Name }}
<p>Where: {{ .Wherefore }}
2019-06-02 04:58:46 +02:00
<form action="/zonkzonk" method="POST">
<input type="hidden" name="CSRF" value="{{ $zonkcsrf }}">
<input type="hidden" name="zonkerid" value="{{ .ID }}">
<input type="hidden" name="itsok" value="iforgiveyou">
<input type="submit" name="pardon" value="pardon">
</form>
<p>
</section>
{{ end }}
</main>