Browse Source

Replace checkbox with button

master
parent
commit
047ce4d34d
Signed by: p <p@janouch.name> GPG Key ID: A0420B94F92B9493
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      label-exp/main.go

+ 1
- 2
label-exp/main.go 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>


Loading…
Cancel
Save