Last change
on this file since 845 was
805,
checked in by joachim, 18 years ago
|
propset Id
|
-
Property svn:keywords set to
Id
|
File size:
2.2 KB
|
Line | |
---|
1 | <!-- a layout_lib macro --> |
---|
2 | <!-- $Id: layout_application_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:('jamb_reg_no', |
---|
8 | 'app_ac_pin', |
---|
9 | 'app_ac_date', |
---|
10 | 'app_email', |
---|
11 | 'app_mobile', |
---|
12 | 'jamb_lastname', |
---|
13 | 'jamb_sex', |
---|
14 | 'entry_mode', |
---|
15 | 'jamb_first_cos', |
---|
16 | 'jamb_state', |
---|
17 | )" |
---|
18 | > |
---|
19 | <table cellpadding="10px" cellspacing=""> |
---|
20 | <tr> |
---|
21 | <tal:block define="cell widgets/passport; |
---|
22 | widget cell/widget" |
---|
23 | > |
---|
24 | <td valign="top"> |
---|
25 | <img src="img" tal:replace="structure cell/widget_rendered" /> |
---|
26 | </td> |
---|
27 | </tal:block> |
---|
28 | <td> |
---|
29 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
30 | <tr> |
---|
31 | <td><span class="dlabel">Student ID</span>: |
---|
32 | </td> |
---|
33 | <td> |
---|
34 | <span tal:replace="python:here.aq_parent.aq_parent.id" /> |
---|
35 | </td> |
---|
36 | </tr> |
---|
37 | <tr tal:repeat="field fields"> |
---|
38 | <tal:block tal:define="cell python: widgets[field]"> |
---|
39 | <tal:block define="widget cell/widget"> |
---|
40 | <div tal:attributes="class cell/widget_css_class|string:label; |
---|
41 | id python:widget.getHtmlWidgetId()+'_widget';" |
---|
42 | > |
---|
43 | <td > |
---|
44 | <span class="dlabel" |
---|
45 | tal:condition="widget/label" |
---|
46 | tal:content="widget/label">label</span>: |
---|
47 | </td> |
---|
48 | <td> |
---|
49 | <span tal:replace="structure cell/widget_rendered" /> |
---|
50 | </td> |
---|
51 | </div> |
---|
52 | </tal:block> |
---|
53 | </tal:block> |
---|
54 | </tr> |
---|
55 | <tr><td>Post UME Examination Date: </td><td></td></tr> |
---|
56 | </table> |
---|
57 | </td> |
---|
58 | </tr> |
---|
59 | </table> |
---|
60 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.