1: <html>
2: <body>
3: <h2>Manage Images</h2>
4: <h3>Add an Image</h3>
5: <form method="post" action="manageImages">
6: <p>Add url from imageserver (either drag and drop the thumb from the thumb display (recommended) or
7: the image from the display at the right):<br>
8: <input name="imageUrl" size=150>
9: <p><i>Caption:</i>
10: <textarea name="caption" rows=3 cols="100"></textarea>
11: </p>
12: <input type="submit">
13: </form>
14: <form tal:repeat="image here/getImages" action="changeImages" method="post">
15: <table>
16: <tr>
17: <td tal:content="structure python:image[1].thumb()"/>
18: <td><textarea rows=3 cols="50" name="caption" tal:content="python:getattr(image[1],'caption','')"/></td>
19: <td><input type="hidden" name="id" tal:attributes="value python:image[1].getId()"><input type="submit" value="delete" name="submit"><input type="submit" value="change caption" name="submit"></td>
20: </tr>
21: </form>
22: </body>
23: </html>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>