File:  [Repository] / MPIWGWeb / zpt / Attic / edit_imageForm.zpt
Revision 1.1.2.3: download - view: text, annotated - select for diffs - revision graph
Wed Oct 26 18:42:02 2005 UTC (18 years, 8 months ago) by casties
Branches: r2
nicer editing for projects and images

<!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>
</tal:block>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>