Last change
on this file since 811 was
805,
checked in by joachim, 18 years ago
|
propset Id
|
-
Property svn:keywords set to
Id
|
File size:
1.2 KB
|
Rev | Line | |
---|
[524] | 1 | <!-- a layout_lib macro --> |
---|
[805] | 2 | <!-- $Id: layout_clearance_view.pt 805 2006-11-09 09:38:29Z joachim $ --> |
---|
[524] | 3 | <metal:block define-macro="default_view" |
---|
| 4 | tal:define="layout options/layout; |
---|
| 5 | dm options/datastructure/getDataModel; |
---|
| 6 | widgets python:context.getRenderedWidgets(layout); |
---|
[796] | 7 | fields python:('')" |
---|
[535] | 8 | > |
---|
[536] | 9 | <table cellpadding="2" cellspacing="2" summary="layout"> |
---|
[613] | 10 | <tr> |
---|
| 11 | <td><span class="dlabel">Student ID</span>: |
---|
| 12 | </td> |
---|
| 13 | <td> |
---|
| 14 | <span tal:replace="python:here.aq_parent.aq_parent.id" /> |
---|
| 15 | </td> |
---|
| 16 | </tr> |
---|
[535] | 17 | <tr tal:repeat="field fields"> |
---|
[536] | 18 | <tal:block tal:define="cell python: widgets[field]"> |
---|
[535] | 19 | <tal:block define="widget cell/widget"> |
---|
[537] | 20 | <div tal:attributes="class cell/widget_css_class|string:label; |
---|
[536] | 21 | id python:widget.getHtmlWidgetId()+'_widget';"> |
---|
| 22 | <td > |
---|
| 23 | <span class="dlabel" |
---|
| 24 | tal:condition="widget/label" |
---|
| 25 | tal:content="widget/label">label</span>: |
---|
| 26 | </td> |
---|
| 27 | <td> |
---|
| 28 | <span tal:replace="structure cell/widget_rendered" /> |
---|
| 29 | </td> |
---|
[535] | 30 | </div> |
---|
[524] | 31 | </tal:block> |
---|
[536] | 32 | </tal:block> |
---|
[535] | 33 | </tr> |
---|
| 34 | </table> |
---|
[537] | 35 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.