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

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

personal_edit_form slimmed down

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