comparison tests/suite_12_methods/files/name.pspx @ 71:88adf10be709 draft

Add tests.
author David Barts <n5jrn@me.com>
date Mon, 15 Jul 2019 13:16:31 -0700
parents
children
comparison
equal deleted inserted replaced
70:a78c74c73d98 71:88adf10be709
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>