source: WAeUP_SRP/trunk/skins/waeup_student/apply_pume_form.pt @ 2146

Last change on this file since 2146 was 2146, checked in by joachim, 17 years ago

show submitbutton only if passport is uploaded (in custom)

  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1<tal:block define="rendered_main options/rendered;
2           portal_status_message options/psm;
3           ds options/ds;
4           jamb options/jamb/getContent|nothing;
5           mode options/mode;
6           show_submit options/show_submit|nothing;
7           "
8           >
9  <metal:block define-macro="edit_form">
10    <metal:block use-macro="here/main_template/macros/master">
11      <metal:block fill-slot="main">
12        <h3 tal:condition="python:not mode=='view'">Apply for Post UME Screening (2007/2008)! </h3>
13        <h3 tal:condition="python:mode=='view'">Your PUME Application Record</h3>
14        <br />
15        <form action="" id="editForm" method="post"
16              enctype="multipart/form-data" class="workflow"
17              tal:attributes="action string:${context/absolute_url}/apply_pume"
18              >
19          <input type="hidden" name="reg_no"
20                 tal:attributes="value ds/reg_no|nothing"
21                 tal:condition="ds/reg_no|nothing"/>
22          <input type="hidden" name="pin"
23                 tal:attributes="value ds/pin|nothing"
24                 tal:condition="ds/pin|nothing"/>
25
26          <div tal:replace="structure rendered_main" />
27         
28          <metal:block tal:condition="python: mode=='edit'">
29            <br/>
30            <input type="checkbox" class="standalone"
31                   name="confirm"
32                   value="" />
33              I confirm that the Passport Photograph uploaded on this form is a true picture of me.
34            <br/><br/>
35          </metal:block>
36
37         
38          <input type="submit" class="standalone"
39                 name="edit"
40                 value="Save & Return Later"
41                 tal:condition="python: mode == 'edit'" />
42          <input type="submit" class="standalone" name="apply"
43                 value="Final Submit"
44                 tal:condition="python: show_submit and mode == 'edit'"
45                 />
46          <input type="submit"
47                 class="standalone"
48                 name="create"
49                 value="Show Application Record"
50                 tal:condition="python: mode == 'create'"
51                 />
52          </form>
53          <metal:block tal:condition="python: mode in ('create','edit')">
54          <p>Instructions :</p>
55          <ul>
56            <li>Enter your JAMB Registration Number and the Application PIN above.</li>
57            <li>Fill the form and upload your Passport Picture with red background in jpg format.</li>
58            <li>Press the 'Final Submit' button.</li>
59          </ul>
60          <br />
61          <font color="red">Application submission deadline is at Midnight on Thursday, 6th September 2007. 
62          No application will be treated after the deadline. </font>
63          </metal:block>
64      </metal:block>
65    </metal:block>
66  </metal:block>
67</tal:block>
Note: See TracBrowser for help on using the repository browser.