/usr/share/doc/python-simpletal/examples/cgi-example/fields.html is in python-simpletal 4.1-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <!-- Example TAL HTML Template - this is used to gather data -->
<html>
<head>
<title tal:content="title">Title</title>
</head>
<body>
<h1 tal:content="title">Title</h1>
<form action="simple-cgi.py">
<div>
Name: <input name="username" tal:attributes="value fieldValues/username"></input>
<b tal:condition="missingFields/username">(Please fill in)</b><br>
Occupation: <input name="occupation" tal:attributes="value fieldValues/occupation"></input>
<b tal:condition="missingFields/occupation">(Please fill in)</b><br>
Age: <input name="age" tal:attributes="value fieldValues/age"></input><br>
</div>
<input type="submit" name="submit" value="submit">
</form>
</body>
</html>
|