Replace checkbox with button

This commit is contained in:
2019-04-11 19:16:40 +02:00
parent ab253ce768
commit 047ce4d34d

View File

@@ -335,8 +335,7 @@ var tmpl = template.Must(template.New("form").Parse(`
<p><label for=text>Text:</label>
<input id=text name=text value='{{.Text}}'>
<p><input type=submit value='Update'>
<input type=checkbox id=print name=print>
<label for=print>Print label</label>
<input type=submit name=print value='Update and Print'>
</fieldset></form>
</td>
</tr></table>