source: WAeUP_SRP/trunk/skins/waeup_student/layout_application_view_info.pt @ 833

Last change on this file since 833 was 826, checked in by Henrik Bettermann, 18 years ago

'Use mailhost services' allowed for Authenticated
some beautifying according to Kehinde's email

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1<!-- a layout_lib macro -->
2<!-- $Id: layout_application_view_info.pt 826 2006-11-10 12:44:56Z 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      <table width="" cellpadding="2" cellspacing="0" summary="Form layout">
16        <tr>
17          <td width="180px"><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>
23        <tr tal:repeat="field fields">
24          <tal:block tal:define="cell python: widgets[field]">
25            <tal:block define="widget cell/widget">
26              <div tal:attributes="class cell/widget_css_class|string:label;
27              id python:widget.getHtmlWidgetId()+'_widget';"
28              >
29                <td >
30                  <span class="dlabel"
31                        tal:condition="widget/label"
32                        tal:content="widget/label">label</span>:
33                </td>
34                <td>
35                  <span tal:replace="structure cell/widget_rendered" />
36                </td>
37              </div>
38            </tal:block>
39          </tal:block>
40        </tr>
41      </table>
42       
43       
44
45</metal:block>
Note: See TracBrowser for help on using the repository browser.