view zpt/project/edit_preview_frame.zpt @ 97:7b96a85552aa

fix bugs in project editing. only show images with captions in project description.
author casties
date Tue, 21 May 2013 15:51:32 +0200
parents
children
line wrap: on
line source

<html>
<body tal:define="root here/getMPIWGProjectUrl; 
                  viewUrl python:here.getMPIWGProject().getUrl(baseUrl=here.en.MPIWGrootURL()+'/research/projects')">
  <h2>Preview</h2>
  <p>
    <a tal:attributes="href string:$root/edit?fromPreview=True">Edit</a> <a tal:attributes="href string:$root/saveFromPreview">Save
      and Publish</a>
  </p>
  <iframe tal:attributes="src string:$viewUrl/previewTemplate" width="100%" height="100%"></iframe>
</body>
</html>