summaryrefslogtreecommitdiff
path: root/docs/quick_tour/view_classes/hello.jinja2
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-22 00:35:10 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-22 00:35:10 -0800
commit6f287132f88b9ffd7f55753e6bce874f867e4dee (patch)
tree3cf0878f41f7186d600044774365126dd47ea559 /docs/quick_tour/view_classes/hello.jinja2
parentcdeda1bf3329e8c6ba1e86e699e205024471ca93 (diff)
parent257ac062342d5b2cd18b47737cf9fb94aa528b8a (diff)
downloadpyramid-6f287132f88b9ffd7f55753e6bce874f867e4dee.tar.gz
pyramid-6f287132f88b9ffd7f55753e6bce874f867e4dee.tar.bz2
pyramid-6f287132f88b9ffd7f55753e6bce874f867e4dee.zip
Merge pull request #2266 from stevepiercy/master
Overhaul Quick Tour: start to "Quick project startup with scaffolds"
Diffstat (limited to 'docs/quick_tour/view_classes/hello.jinja2')
-rw-r--r--docs/quick_tour/view_classes/hello.jinja28
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/quick_tour/view_classes/hello.jinja2 b/docs/quick_tour/view_classes/hello.jinja2
index 3446b96ce..fc3058067 100644
--- a/docs/quick_tour/view_classes/hello.jinja2
+++ b/docs/quick_tour/view_classes/hello.jinja2
@@ -5,13 +5,11 @@
</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"/>
+ <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