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

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

implementation of recent requests (see ticket #360)

File size: 3.6 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']=='pde';
8           deadline info/deadline
9           "
10           >
11  <metal:block define-macro="edit_form">
12    <metal:block use-macro="here/main_template/macros/master">
13      <metal:block fill-slot="main">
14        <span tal:condition="python:not mode=='view' and not expired">
15          <h3 tal:content="info/heading" />
16        </span>
17        <span tal:condition="python:expired and mode!='view'">
18          <h3>Show Application Record! </h3>
19        </span>
20       
21        <h3 tal:condition="python:mode=='view'">Your Application Record</h3>
22        <br />
23        <form action="" id="editForm" method="post"
24              enctype="multipart/form-data" class="workflow"
25              tal:attributes="action string:${context/absolute_url}/apply_admission/${info/screening_type}"
26              >
27          <input type="hidden" name="screening_type"
28                 tal:attributes="value info/screening_type|nothing"
29                 tal:condition="info/screening_type|nothing"/>
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' and not expired" />
54          <input type="submit" class="standalone" name="apply"
55                 value="Final Submit"
56                 tal:condition="python: show_submit and mode == 'edit' and not expired"
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 info['screening_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 <span tal:content="deadline" />. 
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.