<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" tal:content="structure python:slots['text'].callAction(displayAction)">Text</td> </tr> </table> </form> </div> <table border="0" cellspacing="4" cellpadding="0" tal:condition="python:displayAction != 'edit'"> <tr> <td valign="top" tal:content="structure python:slots['text'].callAction(displayAction)">Text</td> </tr> </table> </div>