source: WAeUP_SRP/base/skins/waeup_student/application_edit_form.pt @ 2579

Last change on this file since 2579 was 2575, checked in by Henrik Bettermann, 17 years ago

further development of admit function (nearly finished)

  • Property svn:keywords set to Id
File size: 2.0 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',
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/main_template/macros/master">
18    <metal:block fill-slot="header">
19      <h3>Update Your Application Data!</h3>
20      <br />
21    </metal:block> 
22 
23    <metal:main fill-slot="main">
24    <form action="ACTION" method="post" id="editForm"
25          enctype="multipart/form-data" class="workflow"
26          tal:attributes="action form_action">
27      <span tal:condition="not: info">
28        <metal:block use-macro="here/error_not_found/macros/not_found" />
29      </span>
30      <span tal:condition="info">
31        <span tal:omit-tag="" tal:replace="structure rendered_main"/>
32      </span>
33      <input type="submit" class="standalone"
34             name="cpsdocument_edit_button"
35             value="Save & Return Later"
36             id="cpsdocument_edit_button"
37             tal:condition="not:session2006" />
38      <input type="submit" class="standalone"
39             name="cpsdocument_edit_and_view_button"
40             value="Save & Apply"
41             id="cpsdocument_edit_and_view_button"
42             tal:condition="not:session2006" />
43      <input type="submit" class="standalone"
44             name="cpsdocument_edit_and_view_button"
45             value="Save & Continue"
46             id="cpsdocument_edit_and_view_button"
47             tal:condition="session2006" />             
48    </form>
49    </metal:main>
50  </metal:body>
51</metal:block>
52</metal:block>
53</metal:html>
Note: See TracBrowser for help on using the repository browser.