source: WAeUP_SRP/trunk/skins/waeup_student/layout_pume_view_slip.pt @ 890

Last change on this file since 890 was 805, checked in by joachim, 18 years ago

propset Id

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1<!-- a layout_lib macro -->
2<!-- $Id: layout_pume_view_slip.pt 805 2006-11-09 09:38:29Z joachim $ -->
3<metal:block define-macro="default_view"
4  tal:define="layout options/layout;
5              dm options/datastructure/getDataModel;
6              widgets python:context.getRenderedWidgets(layout);
7              fields python:('pume_gen_score',
8                                 'pume_eng_score',
9                                 'pume_tot_score',
10                                 )"
11                                 >
12  <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
13    <tr tal:repeat="field fields">
14      <tal:block tal:define="cell python: widgets[field]">
15        <tal:block define="widget cell/widget">
16          <div tal:attributes="class cell/widget_css_class|string:label;
17            id python:widget.getHtmlWidgetId()+'_widget';">
18            <td width="180px">
19             <span class="dlabel"
20                    tal:condition="widget/label"
21                    tal:content="widget/label">label</span>:
22            </td>
23            <td>
24               <span tal:condition="cell" tal:content="structure cell/widget_rendered"></span>
25               <span tal:condition="not:cell/widget_rendered"> none </span>
26            </td>
27          </div>
28        </tal:block>
29      </tal:block>
30    </tr>
31  </table>
32</metal:block>
Note: See TracBrowser for help on using the repository browser.