source: WAeUP_SRP/trunk/skins/waeup_student/apply_admission_form_2.pt @ 4540

Last change on this file since 4540 was 3793, checked in by Henrik Bettermann, 16 years ago

the rest of 'quick and dirty'

File size: 4.7 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_2/${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 info/reg_no|nothing"
33                 tal:condition="info/reg_no|nothing"/>
34          <input type="hidden" name="pin"
35                 tal:attributes="value info/pin|nothing"
36                 tal:condition="info/pin|nothing"/>
37          <input type="hidden" name="expiration_date"
38                 tal:attributes="value info/expiration_date|nothing"
39                 tal:condition="info/expiration_date|nothing"/>
40               
41          <div tal:replace="structure rendered_main" />
42         
43          <metal:block tal:condition="python: show_submit and mode == 'edit' and not expired">
44            <br/>
45            <input type="checkbox" class="standalone"
46                   name="confirm"
47                   value=""
48                   />
49            <span tal:replace="info/confirm" />
50            <br/><br/>
51          </metal:block>
52
53         
54          <input type="submit" class="standalone"
55                 name="edit"
56                 value="Save"
57                 tal:condition="python: mode == 'edit'" />
58          <input type="submit" class="standalone" name="apply"
59                 value="Final Submit"
60                 tal:condition="python: show_submit and mode == 'edit' and not expired"
61                 tal:attributes="onclick python:'return window.confirm(\'%s\')' %
62                                 ('Do you really want to submit? You will not be able to edit your data after submission.', )"
63                 />
64          <input type="submit"
65                 class="standalone"
66                 name="create"
67                 value="Show Application Record"
68                 tal:condition="python: mode == 'create'"
69                 />
70          </form>
71         
72          <metal:block tal:condition="venue_display">
73              <br />
74                <strong></strong>
75              <br />  <br /> 
76          </metal:block>
77         
78          <metal:block tal:condition="python:info['status'] == 'created'">
79              <br />
80                <strong>You have been provisionally admitted into <span tal:replace="here/portal_properties/institution_title" />.
81                        Your member record has been created.
82                        Please purchase a second Application Scratch Card and proceed to 'Check Admission'.</strong>
83              <br />  <br /> 
84          </metal:block>         
85          <metal:block tal:condition="python: mode in ('create','edit') and not expired">
86            <p>Instructions :</p>
87            <ul>
88              <li>Enter your <span tal:condition="python:not info['screening_type'] in ('prence','cest','sandwich')">JAMB Registration Number and the</span> Application PIN.</li>
89              <li>Fill the form and upload your Passport Photograph with red background in jpg format.</li>
90              <li>Save and preview picture.
91              <li>Press the 'Final Submit' button.</li>
92            </ul>
93            <br />
94            <font color="red">Application submission deadline is at Midnight on <span tal:content="deadline" />. 
95            No application will be treated after the deadline. </font>
96          </metal:block>
97          <metal:block tal:condition="expired">
98            <br /><font color="red">The application period has expired or application has been temporarily disabled! </font>   
99          </metal:block>
100         
101      </metal:block>
102    </metal:block>
103  </metal:block>
104</tal:block>
Note: See TracBrowser for help on using the repository browser.