On 10/15/2011 8:03 AM pngrv said...
<snip>
<html>
<head>
<title>Please Use This Form To Request Resources</title>
</head>
<body>
<form action="/rs_request" method="POST">
Name:<input type="text" name="name"><br/>
Project:<input type="text" name="project"><br/>
# of Locations:<input type="text" name="locations"><br/>
# of Engines:
<select name="engines">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9+">9+</option>
</select><br/><br/>
<input type="submit">
Where do you close this tag?
<br/><br/>
</form>
$def with (request_string)
$if request_string:
I just wanted to say<em style="color: green; font-size:
2em;">$request_string</em>.
$else:
<em>Hello</em>, world!
</body>
</html>
And seeing this error:
<type 'exceptions.SyntaxError'> at /rs_request
invalid syntax Template traceback: File 'templates/rs_request.html', line
30</html> (rs_request.html, line 30)
Emile
--
http://mail.python.org/mailman/listinfo/python-list