Insertion du nom de l'objet encodé, avec le SimpleTreeMaker.
[MosaicDocument.git] / default_blocks / block_image_template.pt
1 <div tal:define="block nocall:options/block;
2 slots block/getSlotsDic;
3 displayAction options/displayAction;" tal:omit-tag="">
4 <div tal:condition="python:displayAction == 'edit'" >
5 <form metal:use-macro="here/block_utils/macros/block_form">
6 <table border="0" cellspacing="4" cellpadding="0" metal:fill-slot="html_block_content">
7 <tr>
8 <td valign="top" tal:content="structure python:slots['image'].callAction(displayAction)"></td>
9 </tr>
10 </table>
11 </form>
12 </div>
13 <table border="0" cellspacing="4" cellpadding="0" tal:condition="python:displayAction != 'edit'">
14 <tr>
15 <td valign="top" tal:content="structure python:slots['image'].callAction(displayAction)"></td>
16 </tr>
17 </table>
18 </div>