Re: Help with beginner form using lpthw.web
- From: Emile van Sebille <emile@xxxxxxxx>
- Date: Sun, 16 Oct 2011 09:09:50 -0700
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
.
- References:
- Help with beginner form using lpthw.web
- From: pngrv
- Help with beginner form using lpthw.web
- Prev by Date: anagonda sucks )))))))))))))))
- Next by Date: Re: How do I get curses to work in Python 3.2 on win-64?
- Previous by thread: Help with beginner form using lpthw.web
- Next by thread: Python hangs: Problem with wxPython, threading, pySerial, or events?
- Index(es):
Relevant Pages
|