comparison examples/tutorial/geddit/templates/submit.html @ 611:16b1be35c265

Add current code for GenshiTutorial to the `examples` directory.
author cmlenz
date Wed, 29 Aug 2007 17:51:45 +0000
parents
children dba522b4c31d
comparison
equal deleted inserted replaced
610:6a37018199fd 611:16b1be35c265
1 <!DOCTYPE html>
2 <html xmlns="http://www.w3.org/1999/xhtml"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:py="http://genshi.edgewall.org/">
5 <xi:include href="layout.html" />
6 <head>
7 <title>Submit new link</title>
8 </head>
9 <body>
10 <h1>Submit new link</h1>
11 <form action="" method="post">
12 <table summary=""><tbody><tr>
13 <th><label for="username">Your name:</label></th>
14 <td>
15 <input type="text" id="username" name="username" />
16 <span py:if="'username' in errors" class="error">${errors.username}</span>
17 </td>
18 </tr><tr>
19 <th><label for="url">Link URL:</label></th>
20 <td>
21 <input type="text" id="url" name="url" />
22 <span py:if="'url' in errors" class="error">${errors.url}</span>
23 </td>
24 </tr>
25 <tr>
26 <th><label for="title">Title:</label></th>
27 <td>
28 <input type="text" name="title" />
29 <span py:if="'title' in errors" class="error">${errors.title}</span>
30 </td>
31 </tr></tbody></table>
32 <div>
33 <input type="submit" value="Submit" />
34 <input type="submit" name="cancel" value="Cancel" />
35 </div>
36 </form>
37 </body>
38 </html>
Copyright (C) 2012-2017 Edgewall Software