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

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

upload missing passport before starting clearance (logic in application_edit.py completely changed)

fix Title for student_accommodation object

  • Property svn:keywords set to Id
File size: 1.7 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           app_email info/app_doc/app_email|nothing;
15           app_passport info/has_passport;
16           data_complete python:app_passport and app_email;
17           metadata nothing;
18            ">
19  <metal:body use-macro="here/main_template/macros/master">
20    <metal:block fill-slot="header">
21      <h3>Update Your Application Data!</h3>
22      <br />
23    </metal:block> 
24 
25    <metal:main fill-slot="main">
26    <form action="ACTION" method="post" id="editForm"
27          enctype="multipart/form-data" class="workflow"
28          tal:attributes="action form_action">
29      <span tal:condition="not: info">
30        <metal:block use-macro="here/error_not_found/macros/not_found" />
31      </span>
32      <span tal:condition="info">
33        <span tal:omit-tag="" tal:replace="structure rendered_main"/>
34      </span>
35      <br />
36      <input type="submit" class="standalone"
37             name="cpsdocument_edit_and_view_button"
38             value="Save & Continue"
39             id="cpsdocument_edit_and_view_button"
40             />             
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.