71
|
1 #rem A page that accepts both GET and POST requests
|
|
2 #methods GET POST
|
|
3 <!DOCTYPE html>
|
|
4 <html>
|
|
5 <head>
|
|
6 <title>Form Test</title>
|
|
7 </head>
|
|
8 <body>
|
|
9 <h1>Form Test</h1>
|
|
10 <h2>Enter Your Name Below</h2>
|
|
11 <form method="post">
|
|
12 <input type="text" name="name"/>
|
|
13 <input type="submit" value="Submit"/>
|
|
14 </form>
|
|
15 <if tal:condition="message is not None" tal:omit-tag="True">
|
|
16 <h2 tal:content="message.subject"></h2>
|
|
17 <p tal:attributes="style message.style" tal:content="message.body"></p>
|
|
18 </if>
|
|
19 </body>
|
|
20 </html>
|