source: WAeUP_SRP/trunk/skins/waeup_ois/personal_edit_form.pt @ 5045

Last change on this file since 5045 was 3728, checked in by Henrik Bettermann, 16 years ago

more OIS customizations

File size: 1.7 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           titles here/getStudentObjectTitles;
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 <span tal:content="titles/StudentPersonal" />!</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.