summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/templates
diff options
context:
space:
mode:
Diffstat (limited to 'wk9/lect/hello/templates')
-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>