view tests/suite_12_methods/files/name_lc.pspx @ 71:88adf10be709 draft

Add tests.
author David Barts <n5jrn@me.com>
date Mon, 15 Jul 2019 13:16:31 -0700
parents
children
line wrap: on
line source

#rem A page that accepts both GET and POST requests (non UC version,
#rem to verify case insensitivity of request methods).
#methods Get post
#python name.py
<!DOCTYPE html>
<html>
  <head>
    <title>Form Test</title>
  </head>
  <body>
    <h1>Form Test</h1>
    <h2>Enter Your Name Below</h2>
    <form method="post">
      <input type="text" name="name"/>
      <input type="submit" value="Submit"/>
    </form>
    <if tal:condition="message is not None" tal:omit-tag="True">
      <h2 tal:content="message.subject"></h2>
      <p tal:attributes="style message.style" tal:content="message.body"></p>
    </if>
  </body>
</html>