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

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

form shows now the correct data and correct mode

select widget for course3 added

  • Property svn:keywords set to Id
File size: 2.5 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           "
7           >
8  <metal:block define-macro="edit_form">
9    <metal:block use-macro="here/main_template/macros/master">
10      <metal:block fill-slot="main">
11        <h3 tal:condition="python:not mode=='view'">Apply for the Post University Matriculation Examination! </h3>
12        <h3 tal:condition="python:mode=='view'">Your PUME Application Record</h3>
13        <br />
14        <form action="" id="editForm" method="post"
15              enctype="multipart/form-data" class="workflow"
16              tal:attributes="action string:${context/absolute_url}/apply_pume"
17              >
18          <input type="hidden" name="reg_no"
19                 tal:attributes="value ds/reg_no|nothing"
20                 tal:condition="ds/reg_no|nothing"/>
21          <input type="hidden" name="pin"
22                 tal:attributes="value ds/pin|nothing"
23                 tal:condition="ds/pin|nothing"/>
24
25          <div tal:replace="structure rendered_main" />
26         
27          <metal:block tal:condition="python: mode=='edit'">
28            <br/>
29            <input type="checkbox" class="standalone"
30                   name="confirm"
31                   value="" />
32              I confirm that the Passport Photograph uploaded on this form is a true picture of me.
33            <br/><br/>
34          </metal:block>
35
36         
37          <input type="submit" class="standalone"
38                 name="edit"
39                 value="Save & Return Later"
40                 tal:condition="python: mode == 'edit'" />
41          <input type="submit" class="standalone" name="apply"
42                 value="Save & Apply"
43                 tal:condition="python: mode == 'edit'"
44                 />
45          <input type="submit"
46                 class="standalone"
47                 name="create"
48                 value="Show PUME Application Record"
49                 tal:condition="python: mode == 'create'"
50                 />
51          </form>
52          <metal:block tal:condition="python: mode in ('create','edit')">
53          <p>Instructions :</p>
54          <ul>
55            <li>Enter your JAMB Registration Number and the Application PIN above.</li>
56            <li>Upload your passport picture.</li>
57            <li>Apply for PUME.</li>
58          </ul>
59          </metal:block>
60      </metal:block>
61    </metal:block>
62  </metal:block>
63</tal:block>
Note: See TracBrowser for help on using the repository browser.