From 047ce4d34de5f5738957175e347ab2205f0e2431 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch <p@janouch.name>
Date: Thu, 11 Apr 2019 19:16:40 +0200
Subject: Replace checkbox with button

---
 label-exp/main.go | 3 +--
 1 file changed, 1 insertion(+), 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>
-- 
cgit v1.2.3-70-g09d2