source: WAeUP_SRP/trunk/skins/waeup_student/personal_edit_form.pt @ 1743

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

merging with CPSSkinsless branch

In ZMI:

  • delete all portlets in .cps_portlets
  • delete all portlets in portal_cpsportlets
  • import Portlet Tool, Skins Tool and Themes Tool
  • optionally: - delete all themes in portal_themes and delete all method themes in portal_themes
File size: 1.6 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2
3
4    <metal:main fill-slot="main"
5                  tal:define="info context/getPersonalInfo;">
6      <metal:block tal:condition="not: info">
7        <span tal:content="here/illegal_view" />
8      </metal:block>
9      <metal:block tal:condition="info">
10      <metal:block tal:define="rendered_main python:info['per_doc'].render(
11                              layout_mode='edit',
12                              schema_id = 'student_personal',
13                              layout_id = 'student_personal_fe',
14                              request=request,
15                              use_session=True,);
16           form_action string:personal_edit;
17           edition python:True;
18           metadata nothing;
19            ">
20    <a href=""
21       tal:attributes="href string:${here/academicsParent}">
22      <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
23      Up one level
24    </a>
25    <h3>Update Your Personal Data!</h3>
26    <br />           
27           
28    <form action="ACTION" method="post" id="editForm"
29          enctype="multipart/form-data" class="workflow"
30          tal:attributes="action form_action">
31      <span tal:condition="not: info">
32        <metal:block use-macro="here/error_not_found/macros/not_found" />
33      </span>
34      <span tal:condition="info">
35        <span tal:omit-tag="" tal:replace="structure rendered_main"/>
36      </span>
37      <input type="submit" class="standalone"
38             name="cpsdocument_edit_button"
39             value="Save"
40             id="cpsdocument_edit_button"/>
41    </form>
42    </metal:block>
43    </metal:block>   
44    </metal:main>
45</metal:body>
46
Note: See TracBrowser for help on using the repository browser.