source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/application_edit_form.pt @ 11102

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

new personal templates and scripts
student workflow extended

  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1<metal:html tal:define="info context/getApplicationInfo">
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['app_doc'].render(
7                      layout_mode='edit',
8                      schema_id = 'student_application',
9                      layout_id = 'student_application_fe',
10                      request=request,
11                      use_session=True,);
12           form_action string:application_edit;
13           edition python:True;
14           session2006 python:True;
15           metadata nothing;
16            ">
17  <metal:body use-macro="here/waeup_content_master/macros/master">
18    <metal:block fill-slot="header">
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 Application Data!</h3>
25      <br />
26    </metal:block> 
27 
28    <metal:main fill-slot="main">
29    <form action="ACTION" method="post" id="editForm"
30          enctype="multipart/form-data" class="workflow"
31          tal:attributes="action form_action">
32      <span tal:condition="not: info">
33        <metal:block use-macro="here/error_not_found/macros/not_found" />
34      </span>
35      <span tal:condition="info">
36        <span tal:omit-tag="" tal:replace="structure rendered_main"/>
37      </span>
38      <input type="submit" class="standalone"
39             name="cpsdocument_edit_button"
40             value="Save & Return Later"
41             id="cpsdocument_edit_button"
42             tal:condition="not:session2006" />
43      <input type="submit" class="standalone"
44             name="cpsdocument_edit_and_view_button"
45             value="Save & Apply"
46             id="cpsdocument_edit_and_view_button"
47             tal:condition="not:session2006" />
48      <input type="submit" class="standalone"
49             name="cpsdocument_edit_and_view_button"
50             value="Save & Continue"
51             id="cpsdocument_edit_and_view_button"
52             tal:condition="session2006" />             
53    </form>
54    </metal:main>
55  </metal:body>
56</metal:block>
57</metal:block>
58</metal:html>
Note: See TracBrowser for help on using the repository browser.