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

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

generic application form for all kinds of application processes (Part1)

File size: 3.8 KB
Line 
1<tal:block define="rendered_main options/rendered;
2           portal_status_message options/psm;
3           ds options/ds;
4           application_type options/application_type;
5           mode options/mode;
6           expired python:True;
7           show_submit options/show_submit|nothing;
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:condition="python:application_type=='pume'">Apply for Post UME Screening Test (2007/2008)! </h3>
15          <h3 tal:condition="python:application_type=='pde'">Apply for Post DE Screening Test(2007/2008)! </h3>
16          <h3 tal:condition="python:application_type=='prence'">Apply for Pre-NCE Programme (2007/2008)! </h3>
17          <h3 tal:condition="python:application_type=='pce'">Apply for NCE Screening (2007/2008)! </h3>
18          <h3 tal:condition="python:application_type=='cest'">Apply for Common Entrance Screening Test (2007/2008)! </h3>
19        </span>
20        <span tal:condition="expired">
21          <h3>Show Application Record! </h3>
22        </span>
23       
24        <h3 tal:condition="python:mode=='view'">Your Application Record</h3>
25        <br />
26        <form action="" id="editForm" method="post"
27              enctype="multipart/form-data" class="workflow"
28              tal:attributes="action string:${context/absolute_url}/apply_admission/${application_type}"
29              >
30          <input type="hidden" name="reg_no"
31                 tal:attributes="value ds/reg_no|nothing"
32                 tal:condition="ds/reg_no|nothing"/>
33          <input type="hidden" name="pin"
34                 tal:attributes="value ds/pin|nothing"
35                 tal:condition="ds/pin|nothing"/>
36
37          <div tal:replace="structure rendered_main" />
38         
39          <metal:block tal:condition="python: show_submit and mode == 'edit'">
40            <br/>
41            <input type="checkbox" class="standalone"
42                   name="confirm"
43                   value=""
44                   />
45              I confirm that the Passport Photograph uploaded on this form is a true picture of me.
46            <br/><br/>
47          </metal:block>
48
49         
50          <input type="submit" class="standalone"
51                 name="edit"
52                 value="Save"
53                 tal:condition="python: mode == 'edit'" />
54          <input type="submit" class="standalone" name="apply"
55                 value="Final Submit"
56                 tal:condition="python: show_submit and mode == 'edit'"
57                 />
58          <input type="submit"
59                 class="standalone"
60                 name="create"
61                 value="Show Application Record"
62                 tal:condition="python: mode == 'create'"
63                 />
64          </form>
65          <metal:block tal:condition="python: mode in ('create','edit') and not expired">
66            <p>Instructions :</p>
67            <ul>
68              <li>Enter your <span tal:condition="python:not application_type=='prence'">JAMB Registration Number and the</span> Application PIN.</li>
69              <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li>
70              <li>Save and preview picture.
71              <li>Press the 'Final Submit' button.</li>
72            </ul>
73            <br />
74            <font color="red">Application submission deadline is at Midnight on Thursday, 6th September 2007. 
75            No application will be treated after the deadline. </font>
76          </metal:block>
77          <metal:block tal:condition="expired">
78            <br /><font color="red">The application period has expired!</font>   
79          </metal:block>
80         
81      </metal:block>
82    </metal:block>
83  </metal:block>
84</tal:block>
Note: See TracBrowser for help on using the repository browser.