summaryrefslogtreecommitdiff
path: root/wk9
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 08:52:35 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 08:52:35 +0000
commit92e2f7e5b2afa7d42af7f14ce84ce4a5b74b7657 (patch)
treec829d3e567d4e6eeb4d57d34a425c412737d9e0f /wk9
parent37a731b6ebaab06b2ccd192c8847f86fcd951b01 (diff)
Tue, Jul 9, 2024, 1:52 AM -07:00
Diffstat (limited to 'wk9')
-rw-r--r--wk9/lect/hello/templates/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/wk9/lect/hello/templates/index.html b/wk9/lect/hello/templates/index.html
index 7e90e67..e7b6bec 100644
--- a/wk9/lect/hello/templates/index.html
+++ b/wk9/lect/hello/templates/index.html
@@ -6,6 +6,9 @@
<title>hello</title>
</head>
<body>
- hello, {{ name }}
+ <from action="/greet" method="get">
+ <input autocomplete="off" autofocus name="name" placeholder="Name" type="text">
+ <button type="submit">Greet</button>
+ </from>
</body>
</html>