summaryrefslogtreecommitdiff
path: root/docs/quick_tour/view_classes/hello.jinja2
diff options
context:
space:
mode:
authorPaul Everitt <paul@agendaless.com>2013-08-12 19:59:33 -0400
committerPaul Everitt <paul@agendaless.com>2013-08-12 19:59:33 -0400
commitc90471defdd552b4a8c2073914cfd49e7d9f2ca0 (patch)
tree81cb228816af8e9892368ca628bfabd96c21b8f2 /docs/quick_tour/view_classes/hello.jinja2
parent49d634bd813e63c3db5e56d29376126c2646182a (diff)
downloadpyramid-c90471defdd552b4a8c2073914cfd49e7d9f2ca0.tar.gz
pyramid-c90471defdd552b4a8c2073914cfd49e7d9f2ca0.tar.bz2
pyramid-c90471defdd552b4a8c2073914cfd49e7d9f2ca0.zip
Forgot to add the subdir
Diffstat (limited to 'docs/quick_tour/view_classes/hello.jinja2')
-rw-r--r--docs/quick_tour/view_classes/hello.jinja217
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/quick_tour/view_classes/hello.jinja2 b/docs/quick_tour/view_classes/hello.jinja2
new file mode 100644
index 000000000..3446b96ce
--- /dev/null
+++ b/docs/quick_tour/view_classes/hello.jinja2
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <title>Hello World</title>
+</head>
+<body>
+<h1>Hello {{ view.name }}!</h1>
+<!-- Start Form 1 -->
+<form method="POST"
+ action="{{ request.current_route_url() }}">
+ <input name="new_name"/>
+ <input type="submit" name="form.edit" value="Save"/>
+ <input type="submit" name="form.delete" value="Delete"/>
+</form>
+<!-- End Form 1 -->
+</body>
+</html> \ No newline at end of file