Files
x/cmd/web-tinkertoy/echoform.tmpl
Colin Henry 6e60671cfd WIP
2020-05-20 23:18:58 -07:00

16 lines
236 B
Cheetah

<html>
<body>
{{if (eq .Message "")}}
<form action="/echo" method="post">
<input type="text" id="msg" name="msg">
<input type="submit" value="Submit">
</form>
{{else}}
{{.Message}}
{{end}}
</body>
</html>