comparison zpt/project/image/edit_basic.zpt @ 65:63184d71c014

lots of cleaning up.
author casties
date Fri, 03 May 2013 18:23:01 +0200
parents
children 2dd8e3be4a8e
comparison
equal deleted inserted replaced
64:b5ff783027d6 65:63184d71c014
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
4 <head>
5 </head>
6 <body>
7 <tal:block metal:fill-slot="navsel" tal:define="global menusel string:images" />
8 <tal:block metal:fill-slot="body">
9 <h3>Edit Image</h3>
10 <form action="editImage" method="post" enctype="multipart/form-data">
11 <table>
12 <tr><th>Image</th><th>Caption</th></tr>
13 <tr>
14 <td><div tal:content="structure python:here.tag(scale=250.0 / here.height)"/></td>
15 <td><textarea tal:content="structure python:getattr(here,'caption','')" name="caption" rows="3" cols="60"></textarea></td>
16 </tr>
17 <tr>
18 <td><p>Upload new image:<input type="file" name="file" len="50"/></p></td>
19 </tr>
20 </table>
21 <p>
22 <input type="submit" value="submit"/>
23 </p>
24 </form>
25
26 <h3><a href="../manageImages">Back to image list</a></h3>
27 </tal:block>
28 </body>
29 </html>