1 | <tal:block define="rendered_main options/rendered; |
---|
2 | portal_status_message options/psm; |
---|
3 | ds options/ds; |
---|
4 | mode options/mode; |
---|
5 | expired python:False; |
---|
6 | show_submit options/show_submit|nothing; |
---|
7 | info options/info; |
---|
8 | " |
---|
9 | > |
---|
10 | <metal:block define-macro="edit_form"> |
---|
11 | <metal:block use-macro="here/main_template/macros/master"> |
---|
12 | <metal:block fill-slot="main"> |
---|
13 | <span tal:condition="python:not mode=='view' and not expired"> |
---|
14 | <h3 tal:content="info/heading" /> |
---|
15 | </span> |
---|
16 | <span tal:condition="python:expired and mode!='view'"> |
---|
17 | <h3>Show Application Record! </h3> |
---|
18 | </span> |
---|
19 | |
---|
20 | <h3 tal:condition="python:mode=='view'">Your Application Record</h3> |
---|
21 | <br /> |
---|
22 | <form action="" id="editForm" method="post" |
---|
23 | enctype="multipart/form-data" class="workflow" |
---|
24 | tal:attributes="action string:${context/absolute_url}/apply_admission/${info/screening_type}" |
---|
25 | > |
---|
26 | <input type="hidden" name="screening_type" |
---|
27 | tal:attributes="value info/screening_type|nothing" |
---|
28 | tal:condition="info/screening_type|nothing"/> |
---|
29 | <input type="hidden" name="reg_no" |
---|
30 | tal:attributes="value ds/reg_no|nothing" |
---|
31 | tal:condition="ds/reg_no|nothing"/> |
---|
32 | <input type="hidden" name="pin" |
---|
33 | tal:attributes="value ds/pin|nothing" |
---|
34 | tal:condition="ds/pin|nothing"/> |
---|
35 | |
---|
36 | <div tal:replace="structure rendered_main" /> |
---|
37 | |
---|
38 | <metal:block tal:condition="python: show_submit and mode == 'edit'"> |
---|
39 | <br/> |
---|
40 | <input type="checkbox" class="standalone" |
---|
41 | name="confirm" |
---|
42 | value="" |
---|
43 | /> |
---|
44 | I confirm that the Passport Photograph uploaded on this form is a true picture of me. |
---|
45 | <br/><br/> |
---|
46 | </metal:block> |
---|
47 | |
---|
48 | |
---|
49 | <input type="submit" class="standalone" |
---|
50 | name="edit" |
---|
51 | value="Save" |
---|
52 | tal:condition="python: mode == 'edit' and not expired" /> |
---|
53 | <input type="submit" class="standalone" name="apply" |
---|
54 | value="Final Submit" |
---|
55 | tal:condition="python: show_submit and mode == 'edit' and not expired" |
---|
56 | /> |
---|
57 | <input type="submit" |
---|
58 | class="standalone" |
---|
59 | name="create" |
---|
60 | value="Show Application Record" |
---|
61 | tal:condition="python: mode == 'create'" |
---|
62 | /> |
---|
63 | </form> |
---|
64 | <metal:block tal:condition="python: mode in ('create','edit') and not expired"> |
---|
65 | <p>Instructions :</p> |
---|
66 | <ul> |
---|
67 | <li>Enter your <span tal:condition="python:not info['screening_type']=='prence'">JAMB Registration Number and the</span> Application PIN.</li> |
---|
68 | <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li> |
---|
69 | <li>Save and preview picture. |
---|
70 | <li>Press the 'Final Submit' button.</li> |
---|
71 | </ul> |
---|
72 | <br /> |
---|
73 | <font color="red">Application submission deadline is at Midnight on Thursday, 6th September 2007. |
---|
74 | No application will be treated after the deadline. </font> |
---|
75 | </metal:block> |
---|
76 | <metal:block tal:condition="expired"> |
---|
77 | <br /><font color="red">The application period has expired!</font> |
---|
78 | </metal:block> |
---|
79 | |
---|
80 | </metal:block> |
---|
81 | </metal:block> |
---|
82 | </metal:block> |
---|
83 | </tal:block> |
---|