comparison examples/tutorial/geddit/templates/_form.html @ 820:1837f39efd6f experimental-inline

Sync (old) experimental inline branch with trunk@1027.
author cmlenz
date Wed, 11 Mar 2009 17:51:06 +0000
parents
children
comparison
equal deleted inserted replaced
500:0742f421caba 820:1837f39efd6f
1 <form xmlns="http://www.w3.org/1999/xhtml"
2 xmlns:py="http://genshi.edgewall.org/"
3 class="comment" action="${url('/comment/%s/' % link.id)}" method="post">
4 <table summary=""><tbody><tr>
5 <th><label for="username">Your name:</label></th>
6 <td>
7 <input type="text" id="username" name="username" />
8 <span py:if="'username' in errors" class="error">${errors.username}</span>
9 </td>
10 </tr><tr>
11 <th><label for="comment">Comment:</label></th>
12 <td>
13 <textarea id="comment" name="content" rows="6" cols="50"></textarea>
14 <span py:if="'content' in errors" class="error"><br />${errors.content}</span>
15 <p class="hint">You can use HTML tags here for formatting.</p>
16 </td>
17 </tr><tr>
18 <td></td>
19 <td>
20 <input type="submit" value="Submit" />
21 <input type="submit" name="cancel" value="Cancel" />
22 </td>
23 </tr></tbody></table>
24 </form>
Copyright (C) 2012-2017 Edgewall Software