X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/3e0a2c257d49fb162da9c70d2f70194036235166..c6827d2b4b0c53fff66c244b416a33aecb1b49fd:/skins/custom_content/document_view.pt?ds=sidebyside

diff --git a/skins/custom_content/document_view.pt b/skins/custom_content/document_view.pt
index 7f95af7..a77a35a 100755
--- a/skins/custom_content/document_view.pt
+++ b/skins/custom_content/document_view.pt
@@ -7,7 +7,8 @@
 <body>
 
 <div metal:fill-slot="main" tal:omit-tag="">
-  <div tal:replace="structure here/CookedBody">Cooked Body</div>
+  <div tal:condition="python:here.Format() == 'text/html'" tal:replace="structure here/EditableBody">Editable Body</div>
+  <div tal:condition="python:here.Format() != 'text/html'" tal:replace="structure here/CookedBody">Cooked Body</div>
 </div>
 
 </body>