source: main/waeup.ikoba/trunk/src/waeup/ikoba/browser/templates/widgets.pt @ 12444

Last change on this file since 12444 was 12119, checked in by Henrik Bettermann, 10 years ago

Implement HREFDisplayWidget which renders a persistent object title inside an anchor element
referring to the object.

File size: 888 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
21        tal:condition="python: widget.hint and not getattr(view,'hide_hint',False)">
22        <div class="hint" tal:content="structure widget/hint">HINT</div>
23      </tal:hint>
24    </td>
25  </tr>
26</tal:block>
Note: See TracBrowser for help on using the repository browser.