all repos — honk @ 5994028e0af9e7955775eb3c712842a34935e705

my fork of honk

views/honkform.html (view raw)

 1<p id="honkformhost">
 2<button onclick="showhonkform(); return false"><a href="/newhonk">it's honking time</a></button>
 3<form id="honkform" action="/honk" method="POST" enctype="multipart/form-data" style="display: none">
 4<p>
 5in reply to: <input type="text" name="rid" id="ridinput" value="{{ .InReplyTo }}" autocomplete=off>
 6<input type="hidden" name="CSRF" value="{{ .HonkCSRF }}">
 7<input type="hidden" name="updatexid" value = "{{ .UpdateXID }}">
 8<p>
 9<label id="donker">attach: {{ if .SavedFile }} {{ .SavedFile }} {{ else }} <input onchange="updatedonker();" type="file" name="donk"><span></span> {{ end }}</label>
10<input type="hidden" name="donkxid" value="{{ .SavedFile }}">
11<p id="donkdescriptor">
12description: <input type="text" name="donkdesc" value="{{ .DonkDesc }}" autocomplete=off>
13<p>
14<textarea name="noise" id="honknoise">{{ .Noise }}</textarea>
15<p>
16<input type="submit" value="it's gonna be honked">
17<input type="submit" name="preview" value="preview">
18</form>