missed a few submit button conversions
Ted Unangst tedu@tedunangst.com
Mon, 30 Sep 2019 18:45:18 -0400
3 files changed,
5 insertions(+),
5 deletions(-)
M
views/honkers.html
→
views/honkers.html
@@ -10,7 +10,7 @@ <p><input tabindex=1 type="text" name="name" value="" placeholder="optional" autocomplete=off> - name
<p><input tabindex=1 type="text" name="combos" value="" placeholder="optional"> - combos <p><span><label for="peep">just peeping:</label> <input tabindex=1 type="checkbox" id="peep" name="peep" value="peep"><span></span></span> -<p><input tabindex=1 type="submit" name="add honker" value="add honker"> +<p><button tabindex=1 name="add honker" value="add honker">add honker</button> </form> </div> {{ $honkercsrf := .HonkerCSRF }}@@ -40,7 +40,7 @@ <input type="hidden" name="CSRF" value="{{ $honkercsrf }}">
<input type="hidden" name="honkerid" value="{{ .ID }}"> <p>combos: <input type="text" name="combos" value="{{ range .Combos }}{{ . }} {{end}}"> <p>depart: <input type="text" name="goodbye" placeholder="press F" value="" autocomplete=off> -<p><input type="submit" name="save" value="save"> +<p><button name="save" value="save">save</button> </form> </details> <p>
M
views/xzone.html
→
views/xzone.html
@@ -5,7 +5,7 @@ <form action="/ximport" method="POST">
<input type="hidden" name="CSRF" value="{{ .XCSRF }}"> <p><span class="title">import</span> <p><input tabindex=1 type="text" name="xid" autocomplete=off> - xid -<p><input tabindex=1 type="submit" name="fetch" value="fetch"> +<p><button tabindex=1 name="fetch" value="fetch">fetch</button> </form> </div> {{ range .Honkers }}
M
views/zonkers.html
→
views/zonkers.html
@@ -25,7 +25,7 @@ <label for="iszilence">Zilence</label>
<p> <input type="radio" id="iszoggle" name="wherefore" value="zoggle"> <label for="iszoggle">Zoggle</label> -<p><br><input tabindex=1 type="submit" name="zonk" value="zonk!"> +<p><br><button tabindex=1 name="zonk" value="zonk!">zonk!</button> </form> </div> {{ $zonkcsrf := .ZonkCSRF }}@@ -37,7 +37,7 @@ <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"> +<button name="pardon" value="pardon">pardon</button> </form> <p> </section>