Last change
on this file since 1116 was
980,
checked in by Henrik Bettermann, 18 years ago
|
JAMB First Choice is lost in import data and must not be shown
|
-
Property svn:keywords set to
Id
|
File size:
2.1 KB
|
Rev | Line | |
---|
[524] | 1 | <!-- a layout_lib macro --> |
---|
[805] | 2 | <!-- $Id: layout_application_view.pt 980 2006-12-02 07:18:27Z henrik $ --> |
---|
[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); |
---|
[535] | 7 | fields python:('jamb_reg_no', |
---|
| 8 | 'app_ac_pin', |
---|
| 9 | 'app_ac_date', |
---|
[770] | 10 | 'app_email', |
---|
| 11 | 'app_mobile', |
---|
[535] | 12 | 'jamb_lastname', |
---|
[980] | 13 | 'jamb_sex',)" |
---|
[535] | 14 | > |
---|
[536] | 15 | <table cellpadding="2" cellspacing="2" summary="layout"> |
---|
[613] | 16 | <tr> |
---|
| 17 | <td><span class="dlabel">Student ID</span>: |
---|
| 18 | </td> |
---|
| 19 | <td> |
---|
| 20 | <span tal:replace="python:here.aq_parent.aq_parent.id" /> |
---|
| 21 | </td> |
---|
| 22 | </tr> |
---|
[535] | 23 | <tr tal:repeat="field fields"> |
---|
[536] | 24 | <tal:block tal:define="cell python: widgets[field]"> |
---|
[535] | 25 | <tal:block define="widget cell/widget"> |
---|
[537] | 26 | <div tal:attributes="class cell/widget_css_class|string:label; |
---|
[536] | 27 | id python:widget.getHtmlWidgetId()+'_widget';"> |
---|
| 28 | <td > |
---|
| 29 | <span class="dlabel" |
---|
| 30 | tal:condition="widget/label" |
---|
| 31 | tal:content="widget/label">label</span>: |
---|
| 32 | </td> |
---|
| 33 | <td> |
---|
| 34 | <span tal:replace="structure cell/widget_rendered" /> |
---|
| 35 | </td> |
---|
[535] | 36 | </div> |
---|
[524] | 37 | </tal:block> |
---|
[536] | 38 | </tal:block> |
---|
[535] | 39 | </tr> |
---|
| 40 | <tr> |
---|
[536] | 41 | <tal:block define="cell widgets/passport; |
---|
| 42 | widget cell/widget" |
---|
| 43 | > |
---|
[535] | 44 | <div tal:attributes="class cell/widget_css_class|nothing; |
---|
[536] | 45 | id python:widget.getHtmlWidgetId()+'_widget';"> |
---|
| 46 | <td valign="top"> |
---|
[535] | 47 | <tal:block condition="widget/label"> |
---|
[537] | 48 | <span class="label" |
---|
[536] | 49 | tal:content="widget/label">label</span>: |
---|
[535] | 50 | </tal:block> |
---|
[536] | 51 | </td> |
---|
| 52 | <td> |
---|
[537] | 53 | <img src="img" tal:replace="structure cell/widget_rendered"> |
---|
[536] | 54 | </td> |
---|
[535] | 55 | </div> |
---|
[536] | 56 | </tal:block> |
---|
[535] | 57 | </tr> |
---|
| 58 | </table> |
---|
[537] | 59 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.