source: WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt @ 2604

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

show message if student object has been created

File size: 4.4 KB
Line 
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'] in ('pce','prence');
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:info['status'] == 'created'">
74              <br />
75                <strong>You that 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         
80          <metal:block tal:condition="python: mode in ('create','edit') and not expired">
81            <p>Instructions :</p>
82            <ul>
83              <li>Enter your <span tal:condition="python:not info['screening_type']=='prence'">JAMB Registration Number and the</span> Application PIN.</li>
84              <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li>
85              <li>Save and preview picture.
86              <li>Press the 'Final Submit' button.</li>
87            </ul>
88            <br />
89            <font color="red">Application submission deadline is at Midnight on <span tal:content="deadline" />. 
90            No application will be treated after the deadline. </font>
91          </metal:block>
92          <metal:block tal:condition="expired">
93            <br /><font color="red">The application period has expired!</font>   
94          </metal:block>
95         
96      </metal:block>
97    </metal:block>
98  </metal:block>
99</tal:block>
Note: See TracBrowser for help on using the repository browser.