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