Last change
on this file since 798 was
770,
checked in by Henrik Bettermann, 18 years ago
|
passport_entry_view renamed
layouts modified
and more
|
File size:
2.3 KB
|
Line | |
---|
1 | <!-- a layout_lib macro --> |
---|
2 | <!-- $Id: layout_lib_default_view.pt 34052 2006-03-06 14:59:24Z atchertchian $ --> |
---|
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.