Last change
on this file since 9168 was
8045,
checked in by Henrik Bettermann, 13 years ago
|
Insert headlines (separators) between groups of widgets. pdf version will follow.
|
File size:
857 bytes
|
Line | |
---|
1 | <tal:block repeat="widget view/widgets">
|
---|
2 | <tr tal:define="separators view/separators|nothing"
|
---|
3 | tal:condition="python: separators and separators.get(widget.name,None)">
|
---|
4 | <td class="separator" colspan=2 tal:content="python: separators[widget.name]">
|
---|
5 | HEADLINE
|
---|
6 | </td>
|
---|
7 | </tr>
|
---|
8 | <tr>
|
---|
9 | <td class="fieldname">
|
---|
10 | <span tal:condition="widget/required">*</span>
|
---|
11 | <span tal:content="widget/label">LABEL</span>:
|
---|
12 | </td>
|
---|
13 | <td>
|
---|
14 | <span tal:content="structure widget">
|
---|
15 | <input type="text" />
|
---|
16 | </span>
|
---|
17 | <tal:error tal:condition="widget/error">
|
---|
18 | <div tal:content="structure widget/error">ERROR</div>
|
---|
19 | </tal:error>
|
---|
20 | <tal:hint tal:condition="widget/hint">
|
---|
21 | <div class="hint" tal:content="structure widget/hint">HINT</div>
|
---|
22 | </tal:hint>
|
---|
23 | </td>
|
---|
24 | </tr>
|
---|
25 | </tal:block>
|
---|
Note: See
TracBrowser for help on using the repository browser.