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

Last change on this file since 2067 was 1783, checked in by Henrik Bettermann, 18 years ago
  • assertViewable removed and page templates adjusted, so that no traceback occurs.
  • 'Previous Session' action added
  • waeup_content_master.pt removed
  • and more
File size: 1.6 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2
3    <metal:main fill-slot="main"
4                  tal:define="info context/getPersonalInfo;">
5      <metal:block tal:condition="not: info">
6        <span tal:content="here/illegal_view" />
7      </metal:block>
8      <metal:block tal:condition="info">
9      <metal:block tal:define="rendered_main python:info['per_doc'].render(
10                              layout_mode='edit',
11                              schema_id = 'student_personal',
12                              layout_id = 'student_personal_fe',
13                              request=request,
14                              use_session=True,);
15           form_action string:personal_edit;
16           edition python:True;
17           metadata nothing;
18            ">
19    <a href=""
20       tal:attributes="href string:${here/academicsParent}">
21      <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
22      Up one level
23    </a>
24    <h3>Update Your Personal Data!</h3>
25    <br />           
26           
27    <form action="ACTION" method="post" id="editForm"
28          enctype="multipart/form-data" class="workflow"
29          tal:attributes="action form_action">
30      <span tal:condition="not: info">
31        <metal:block use-macro="here/error_not_found/macros/not_found" />
32      </span>
33      <span tal:condition="info">
34        <span tal:omit-tag="" tal:replace="structure rendered_main"/>
35      </span>
36      <input type="submit" class="standalone"
37             name="cpsdocument_edit_button"
38             value="Save"
39             id="cpsdocument_edit_button"/>
40    </form>
41    </metal:block>
42    </metal:block>   
43    </metal:main>
44</metal:body>
45
Note: See TracBrowser for help on using the repository browser.