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

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

finished, please test

  • 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      <br />
34      <input type="submit" class="standalone"
35             name="cpsdocument_edit_button"
36             value="Save & Return Later"
37             id="cpsdocument_edit_button"
38             tal:condition="not:session2006" />
39      <input type="submit" class="standalone"
40             name="cpsdocument_edit_and_view_button"
41             value="Save & Apply"
42             id="cpsdocument_edit_and_view_button"
43             tal:condition="not:session2006" />
44      <input type="submit" class="standalone"
45             name="cpsdocument_edit_and_view_button"
46             value="Save & Continue"
47             id="cpsdocument_edit_and_view_button"
48             tal:condition="session2006" />             
49    </form>
50    </metal:main>
51  </metal:body>
52</metal:block>
53</metal:block>
54</metal:html>
Note: See TracBrowser for help on using the repository browser.