Retrait ligne en commentaire.
[MosaicDocument.git] / default_blocks / block_section_template.pt
1 <div tal:define="block nocall:options/block;
2 slots block/getSlotsDic;
3 displayAction options/displayAction;" tal:omit-tag="">
4
5 <div tal:condition="python:displayAction == 'edit'">
6 <form metal:use-macro="here/block_utils/macros/block_form">
7 <table border="0" cellspacing="4" cellpadding="0" metal:fill-slot="html_block_content">
8 <tr>
9 <td valign="top" tal:content="structure python:slots['section'].callAction(displayAction)">Text</td>
10 </tr>
11 </table>
12 </form>
13 </div>
14 <h2 tal:condition="python:displayAction != 'edit'"
15 tal:content="structure python:slots['section'].callAction(displayAction)">Text</h2>
16
17 </div>