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 info/expired; |
---|
8 | venue_display python:False; |
---|
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 | <span tal:replace="info/confirm" /> |
---|
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></strong> |
---|
70 | <br /> <br /> |
---|
71 | </metal:block> |
---|
72 | |
---|
73 | <metal:block tal:condition="python:info['status'] == 'created'"> |
---|
74 | <br /> |
---|
75 | <strong>You have been provisionally admitted into University of Benin. Your member record has been created. |
---|
76 | Please purchase a second Application Scratch Card and proceed to 'Check Admission'.</strong> |
---|
77 | <br /> <br /> |
---|
78 | </metal:block> |
---|
79 | <metal:block tal:condition="python: mode in ('create','edit') and not expired"> |
---|
80 | <p>Instructions :</p> |
---|
81 | <ul> |
---|
82 | <li>Enter your <span tal:condition="python:not info['screening_type'] in ('prence','cest')">JAMB Registration Number and the</span> Application PIN.</li> |
---|
83 | <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li> |
---|
84 | <li>Save and preview picture. |
---|
85 | <li>Press the 'Final Submit' button.</li> |
---|
86 | </ul> |
---|
87 | <br /> |
---|
88 | <font color="red">Application submission deadline is at Midnight on <span tal:content="deadline" />. |
---|
89 | No application will be treated after the deadline. </font> |
---|
90 | </metal:block> |
---|
91 | <metal:block tal:condition="expired"> |
---|
92 | <br /><font color="red">The application period has expired!</font> |
---|
93 | </metal:block> |
---|
94 | |
---|
95 | </metal:block> |
---|
96 | </metal:block> |
---|
97 | </metal:block> |
---|
98 | </tal:block> |
---|