missed a few submit button conversions

This commit is contained in:
Ted Unangst 2019-09-30 18:45:18 -04:00
parent af6e825442
commit 32011e707a
3 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@
<p><input tabindex=1 type="text" name="combos" value="" placeholder="optional"> - combos <p><input tabindex=1 type="text" name="combos" value="" placeholder="optional"> - combos
<p><span><label for="peep">just peeping:</label> <p><span><label for="peep">just peeping:</label>
<input tabindex=1 type="checkbox" id="peep" name="peep" value="peep"><span></span></span> <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> </form>
</div> </div>
{{ $honkercsrf := .HonkerCSRF }} {{ $honkercsrf := .HonkerCSRF }}
@ -40,7 +40,7 @@ function expandstuff() {
<input type="hidden" name="honkerid" value="{{ .ID }}"> <input type="hidden" name="honkerid" value="{{ .ID }}">
<p>combos: <input type="text" name="combos" value="{{ range .Combos }}{{ . }} {{end}}"> <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>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> </form>
</details> </details>
<p> <p>

View File

@ -5,7 +5,7 @@
<input type="hidden" name="CSRF" value="{{ .XCSRF }}"> <input type="hidden" name="CSRF" value="{{ .XCSRF }}">
<p><span class="title">import</span> <p><span class="title">import</span>
<p><input tabindex=1 type="text" name="xid" autocomplete=off> - xid <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> </form>
</div> </div>
{{ range .Honkers }} {{ range .Honkers }}

View File

@ -25,7 +25,7 @@
<p> <p>
<input type="radio" id="iszoggle" name="wherefore" value="zoggle"> <input type="radio" id="iszoggle" name="wherefore" value="zoggle">
<label for="iszoggle">Zoggle</label> <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> </form>
</div> </div>
{{ $zonkcsrf := .ZonkCSRF }} {{ $zonkcsrf := .ZonkCSRF }}
@ -37,7 +37,7 @@
<input type="hidden" name="CSRF" value="{{ $zonkcsrf }}"> <input type="hidden" name="CSRF" value="{{ $zonkcsrf }}">
<input type="hidden" name="zonkerid" value="{{ .ID }}"> <input type="hidden" name="zonkerid" value="{{ .ID }}">
<input type="hidden" name="itsok" value="iforgiveyou"> <input type="hidden" name="itsok" value="iforgiveyou">
<input type="submit" name="pardon" value="pardon"> <button name="pardon" value="pardon">pardon</button>
</form> </form>
<p> <p>
</section> </section>