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

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

new personal templates and scripts
student workflow extended

File size: 1.6 KB
Line 
1<metal:html tal:define="info context/getPersonalInfo">
2  <span tal:condition="not: info">
3    <span tal:content="here/illegal_view" />
4  </span>
5<metal:block tal:condition="info"> 
6<metal:block tal:define="rendered_main python:info['per_doc'].render(
7                      layout_mode='edit',
8                      schema_id = 'student_personal',
9                      layout_id = 'student_personal_fe',
10                      request=request,
11                      use_session=True,);
12           form_action string:personal_edit;
13           edition python:True;
14           metadata nothing;
15            ">
16  <metal:body use-macro="here/waeup_content_master/macros/master">
17    <metal:block fill-slot="header">
18      <a href=""
19         tal:attributes="href string:${here/academicsParent}">
20        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
21        Up one level
22      </a>
23      <h3>Update Your Personal Data!</h3>
24      <br />
25    </metal:block> 
26 
27    <metal:main fill-slot="main">
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:main>
43  </metal:body>
44</metal:block>
45</metal:block>
46</metal:html>
Note: See TracBrowser for help on using the repository browser.