820
|
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 class="submit">
|
|
10 <h1>Submit new link</h1>
|
|
11
|
|
12 <form action="" method="post">
|
|
13 <table summary=""><tbody><tr>
|
|
14 <th><label for="username">Your name:</label></th>
|
|
15 <td>
|
|
16 <input type="text" id="username" name="username" />
|
|
17 <span py:if="'username' in errors" class="error">${errors.username}</span>
|
|
18 </td>
|
|
19 </tr><tr>
|
|
20 <th><label for="url">Link URL:</label></th>
|
|
21 <td>
|
|
22 <input type="text" id="url" name="url" />
|
|
23 <span py:if="'url' in errors" class="error">${errors.url}</span>
|
|
24 </td>
|
|
25 </tr><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><tr>
|
|
32 <td></td>
|
|
33 <td>
|
|
34 <input type="submit" value="Submit" />
|
|
35 <input type="submit" name="cancel" value="Cancel" />
|
|
36 </td>
|
|
37 </tr></tbody></table>
|
|
38 </form>
|
|
39
|
|
40 </body>
|
|
41 </html>
|