aboutsummaryrefslogtreecommitdiff
path: root/label-exp
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2019-04-11 19:16:40 +0200
committerPřemysl Janouch <p@janouch.name>2019-04-11 19:16:40 +0200
commit047ce4d34de5f5738957175e347ab2205f0e2431 (patch)
tree2ef347347aa1286dccd287ad3e0e8c95ec78dfef /label-exp
parentab253ce768c410f6c996fd3df98292df0554c2f3 (diff)
downloadsklad-047ce4d34de5f5738957175e347ab2205f0e2431.tar.gz
sklad-047ce4d34de5f5738957175e347ab2205f0e2431.tar.xz
sklad-047ce4d34de5f5738957175e347ab2205f0e2431.zip
Replace checkbox with button
Diffstat (limited to 'label-exp')
-rw-r--r--label-exp/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/label-exp/main.go b/label-exp/main.go
index 442c021..3280733 100644
--- a/label-exp/main.go
+++ b/label-exp/main.go
@@ -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>