<html>
<head>
<title>[% c.appname | html %]</title>
</head>
<body>
<h1>Foo</h1>
[% c.req.param('q') %]
<form method="POST" action="[% c.uri_for('/foo') %]">
<input type="text" name="q" />
</form>
</body>
</html>
<html>
<head>
<title>[% c.appname | html %]</title>
</head>
<body>
<h1>Foo</h1>
[% c.req.param('q') %]
<form method="POST" action="[% c.uri_for('/foo') %]">
<input type="text" name="q" />
</form>
</body>
</html>