Last change
on this file since 1107 was
871,
checked in by Henrik Bettermann, 18 years ago
|
layout of admission form/slip modified
|
-
Property svn:keywords set to
Id
|
File size:
1.6 KB
|
Line | |
---|
1 | <!-- a layout_lib macro --> |
---|
2 | <!-- $Id: layout_application_view_info.pt 871 2006-11-16 06:06:53Z henrik $ --> |
---|
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','jamb_lastname','jamb_sex','app_email','app_mobile')" |
---|
8 | > |
---|
9 | |
---|
10 | <tal:block define="cell widgets/passport; |
---|
11 | widget cell/widget"> |
---|
12 | <img src="img" tal:replace="structure cell/widget_rendered" /> |
---|
13 | </tal:block> |
---|
14 | |
---|
15 | <br /> |
---|
16 | |
---|
17 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
18 | <tr> |
---|
19 | <td width="180px"><span class="dlabel">Student ID</span>: |
---|
20 | </td> |
---|
21 | <td> |
---|
22 | <span tal:replace="python:here.aq_parent.aq_parent.id" /> |
---|
23 | </td> |
---|
24 | </tr> |
---|
25 | <tr tal:repeat="field fields"> |
---|
26 | <tal:block tal:define="cell python: widgets[field]"> |
---|
27 | <tal:block define="widget cell/widget"> |
---|
28 | <div tal:attributes="class cell/widget_css_class|string:label; |
---|
29 | id python:widget.getHtmlWidgetId()+'_widget';" |
---|
30 | > |
---|
31 | <td > |
---|
32 | <span class="dlabel" |
---|
33 | tal:condition="widget/label" |
---|
34 | tal:content="widget/label">label</span>: |
---|
35 | </td> |
---|
36 | <td> |
---|
37 | <span tal:replace="structure cell/widget_rendered" /> |
---|
38 | </td> |
---|
39 | </div> |
---|
40 | </tal:block> |
---|
41 | </tal:block> |
---|
42 | </tr> |
---|
43 | </table> |
---|
44 | |
---|
45 | |
---|
46 | |
---|
47 | </metal:block> |
---|
Note: See
TracBrowser for help on using the repository browser.