honk/views/zonkers.html

25 lines
613 B
HTML
Raw Normal View History

{{ template "header.html" . }}
<main>
<div class="info">
<p>
Work in progress
</div>
2019-06-02 04:58:46 +02:00
{{ $zonkcsrf := .ZonkCSRF }}
{{ range $how, $filters := .Filters }}
{{ range $filters }}
<section class="honk">
<p>How: {{ $how }}
{{ with .Actor }}<p>Who: {{ . }}{{ end }}
{{ with .Text }}<p>What: {{ . }}{{ end }}
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">
2019-10-01 00:45:18 +02:00
<button name="pardon" value="pardon">pardon</button>
</form>
<p>
</section>
{{ end }}
{{ end }}
</main>