view zpt/project/edit_preview_frame.zpt @ 145:195c4f6faa0c

more style
author casties
date Fri, 31 May 2013 20:59:30 +0200
parents 7b96a85552aa
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>