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"
7 metal:fill-slot="html_block_content">
9 <td valign="top" width="215" tal:content="structure python:slots['image'].callAction(displayAction)">Image 1</td>
10 <td width="1"> </td>
11 <td valign="top" width="215" tal:content="structure python:slots['image2'].callAction(displayAction)">Image 2</td>
16 <table border="0" cellspacing="4" cellpadding="0"
17 tal:condition="python:displayAction != 'edit'">
19 <td valign="top" width="215" tal:content="structure python:slots['image'].callAction(displayAction)">Image 1</td>
20 <td width="1"> </td>
21 <td valign="top" width="215" tal:content="structure python:slots['image2'].callAction(displayAction)">Image 2</td>