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> |
---|