-<div tal:define="block nocall:options/block;
- slots block/getSlotsDic;
- displayAction options/displayAction;" tal:omit-tag="">
- <div tal:condition="python:displayAction == 'edit'">
- <form metal:use-macro="here/block_utils/macros/block_form">
- <table border="0" cellspacing="4" cellpadding="0"
- metal:fill-slot="html_block_content">
- <tr>
- <td valign="top" width="215" tal:content="structure python:slots['image'].callAction(displayAction)">Image 1</td>
- <td width="1"> </td>
- <td valign="top" width="215" tal:content="structure python:slots['image2'].callAction(displayAction)">Image 2</td>
- </tr>
- </table>
- </form>
- </div>
- <table border="0" cellspacing="4" cellpadding="0"
- tal:condition="python:displayAction != 'edit'">
- <tr>
- <td valign="top" width="215" tal:content="structure python:slots['image'].callAction(displayAction)">Image 1</td>
- <td width="1"> </td>
- <td valign="top" width="215" tal:content="structure python:slots['image2'].callAction(displayAction)">Image 2</td>
- </tr>
- </table>
-</div>
\ No newline at end of file