diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/zpt/project/image/edit_basic.zpt	Fri May 03 18:23:01 2013 +0200
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html metal:use-macro="here/edit_MPIWGProject_main/macros/page">
+<head>
+</head>
+<body>
+<tal:block metal:fill-slot="navsel" tal:define="global menusel string:images" />
+<tal:block metal:fill-slot="body">
+  <h3>Edit Image</h3>
+  <form action="editImage" method="post" enctype="multipart/form-data">
+  <table>
+    <tr><th>Image</th><th>Caption</th></tr>
+    <tr>
+      <td><div tal:content="structure python:here.tag(scale=250.0 / here.height)"/></td>
+      <td><textarea tal:content="structure python:getattr(here,'caption','')" name="caption" rows="3" cols="60"></textarea></td>
+    </tr>
+    <tr>
+      <td><p>Upload new image:<input type="file" name="file" len="50"/></p></td>
+    </tr>
+  </table>
+  <p>
+  <input type="submit" value="submit"/>
+  </p>
+  </form>
+  
+  <h3><a href="../manageImages">Back to image list</a></h3>
+</tal:block>
+</body>
+</html>