Last change
on this file since 2104 was
1989,
checked in by Henrik Bettermann, 17 years ago
|
vocabulary courselevel renamed to levels and more
|
-
Property svn:keywords set to
Id
|
File size:
2.4 KB
|
Line | |
---|
1 | <metal:block define-macro="default_view" |
---|
2 | tal:define="layout options/layout; |
---|
3 | info context/getStudentBaseInfo; |
---|
4 | dm options/datastructure/getDataModel; |
---|
5 | widgets python:context.getRenderedWidgets(layout); |
---|
6 | fields python:('jamb_reg_no', |
---|
7 | 'app_ac_pin', |
---|
8 | 'app_ac_date', |
---|
9 | 'app_email', |
---|
10 | 'app_mobile', |
---|
11 | 'entry_mode', |
---|
12 | 'jamb_state', |
---|
13 | )" |
---|
14 | > |
---|
15 | <table cellpadding="10px" cellspacing=""> |
---|
16 | <tr> |
---|
17 | <tal:block define="cell widgets/passport; |
---|
18 | widget cell/widget" |
---|
19 | > |
---|
20 | <td valign="top"> |
---|
21 | <img src="img" tal:replace="structure cell/widget_rendered" /> |
---|
22 | </td> |
---|
23 | </tal:block> |
---|
24 | <td> |
---|
25 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
26 | <tr> |
---|
27 | <td valign="top"><span class="dlabel">Name</span>: |
---|
28 | </td> |
---|
29 | <td> |
---|
30 | <span tal:content="info/student/name" /> |
---|
31 | </td> |
---|
32 | </tr> |
---|
33 | <tr> |
---|
34 | <td valign="top"><span class="dlabel">Sex</span>: |
---|
35 | </td> |
---|
36 | <td> |
---|
37 | <span tal:content="info/student/sex" /> |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | <tr valign="top"> |
---|
41 | <td><span class="dlabel">Student ID</span>: |
---|
42 | </td> |
---|
43 | <td> |
---|
44 | <span tal:content="info/student/id" /> |
---|
45 | </td> |
---|
46 | </tr> |
---|
47 | <tr tal:repeat="field fields"> |
---|
48 | <tal:block tal:define="cell python: widgets[field]"> |
---|
49 | <tal:block define="widget cell/widget"> |
---|
50 | <div tal:attributes="class cell/widget_css_class|string:label; |
---|
51 | id python:widget.getHtmlWidgetId()+'_widget';" |
---|
52 | > |
---|
53 | <td valign="top"> |
---|
54 | <span class="dlabel" |
---|
55 | tal:condition="widget/label" |
---|
56 | tal:content="widget/label">label</span>: |
---|
57 | </td> |
---|
58 | <td valign="top"> |
---|
59 | <span tal:replace="structure cell/widget_rendered" /> |
---|
60 | </td> |
---|
61 | </div> |
---|
62 | </tal:block> |
---|
63 | </tal:block> |
---|
64 | </tr> |
---|
65 | </table> |
---|
66 | </td> |
---|
67 | </tr> |
---|
68 | </table> |
---|
69 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.