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

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

first preparations for sandwich application

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 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                 tal:attributes="onclick python:'return window.confirm(\'%s\')' %
59                                 ('Do you really want to submit? You will not be able to edit your data after submission.', )"
60                 />
61          <input type="submit"
62                 class="standalone"
63                 name="create"
64                 value="Show Application Record"
65                 tal:condition="python: mode == 'create'"
66                 />
67          </form>
68         
69          <metal:block tal:condition="venue_display">
70              <br />
71                <strong></strong>
72              <br />  <br /> 
73          </metal:block>
74         
75          <metal:block tal:condition="python:info['status'] == 'created'">
76              <br />
77                <strong>You have been provisionally admitted into <span tal:replace="here/portal_properties/institution_title" />.
78                        Your member record has been created.
79                        Please purchase a second Application Scratch Card and proceed to 'Check Admission'.</strong>
80              <br />  <br /> 
81          </metal:block>         
82          <metal:block tal:condition="python: mode in ('create','edit') and not expired">
83            <p>Instructions :</p>
84            <ul>
85              <li>Enter your <span tal:condition="python:not info['screening_type'] in ('prence','cest','sandwich')">JAMB Registration Number and the</span> Application PIN.</li>
86              <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li>
87              <li>Save and preview picture.
88              <li>Press the 'Final Submit' button.</li>
89            </ul>
90            <br />
91            <font color="red">Application submission deadline is at Midnight on <span tal:content="deadline" />. 
92            No application will be treated after the deadline. </font>
93          </metal:block>
94          <metal:block tal:condition="expired">
95            <br /><font color="red">The application period has expired!</font>   
96          </metal:block>
97         
98      </metal:block>
99    </metal:block>
100  </metal:block>
101</tal:block>
Note: See TracBrowser for help on using the repository browser.