summaryrefslogtreecommitdiff
path: root/wk9/lect/hello/templates
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 08:56:57 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-07-09 08:56:57 +0000
commitc49f2aa4c23a4688049e28cc154fb1de93a4e8fa (patch)
treed621a0a331d6378f9763fe2843a8f9af53b804c4 /wk9/lect/hello/templates
parent92e2f7e5b2afa7d42af7f14ce84ce4a5b74b7657 (diff)
Tue, Jul 9, 2024, 1:56 AM -07:00
Diffstat (limited to 'wk9/lect/hello/templates')
-rw-r--r--wk9/lect/hello/templates/greet.html11
-rw-r--r--wk9/lect/hello/templates/index.html2
2 files changed, 12 insertions, 1 deletions
diff --git a/wk9/lect/hello/templates/greet.html b/wk9/lect/hello/templates/greet.html
new file mode 100644
index 0000000..7e90e67
--- /dev/null
+++ b/wk9/lect/hello/templates/greet.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta name="viewport" content="initial-scale=1, width=device-width">
+ <title>hello</title>
+ </head>
+ <body>
+ hello, {{ name }}
+ </body>
+</html>
diff --git a/wk9/lect/hello/templates/index.html b/wk9/lect/hello/templates/index.html
index e7b6bec..4ce1e85 100644
--- a/wk9/lect/hello/templates/index.html
+++ b/wk9/lect/hello/templates/index.html
@@ -6,7 +6,7 @@
<title>hello</title>
</head>
<body>
- <from action="/greet" method="get">
+ <form action="/greet" method="get">
<input autocomplete="off" autofocus name="name" placeholder="Name" type="text">
<button type="submit">Greet</button>
</from>