Line | |
---|
1 | <tal:block define="layout options/layout; |
---|
2 | widgets options/layout/widgets; |
---|
3 | ds options/datastructure; |
---|
4 | fixed_layouts python:['title']; |
---|
5 | "> |
---|
6 | |
---|
7 | |
---|
8 | <!-- Flex part for instance here --> |
---|
9 | |
---|
10 | <table width="100%" cellpadding="2" cellspacing="2"> |
---|
11 | <tr tal:repeat="row layout/rows"> |
---|
12 | <td tal:repeat="cell row" tal:attributes="colspan cell/ncols"> |
---|
13 | <tal:block define="widget cell/widget"> |
---|
14 | <tal:block condition="python:widget.label and widget.id[3:] not in fixed_layouts "> |
---|
15 | <strong tal:content="widget/label">label</strong>: |
---|
16 | <div tal:replace="structure python:widget.render('view', ds, layout_mode='view')" /> |
---|
17 | </tal:block> |
---|
18 | </tal:block> |
---|
19 | </td> |
---|
20 | </tr> |
---|
21 | </table> |
---|
22 | |
---|
23 | </tal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.