1 | <tal:block define="rendered_main options/rendered|nothing; |
---|
2 | portal_status_message options/psm|nothing; |
---|
3 | reg_no options/reg_no|nothing; |
---|
4 | ds options/ds|nothing; |
---|
5 | " |
---|
6 | > |
---|
7 | <metal:block define-macro="edit_form"> |
---|
8 | <metal:block use-macro="here/main_template/macros/master"> |
---|
9 | <metal:block fill-slot="main"> |
---|
10 | |
---|
11 | <form action="" id="editForm" method="post" |
---|
12 | enctype="multipart/form-data" class="workflow" |
---|
13 | tal:attributes="action string:${context/absolute_url}/apply_admission_manage" |
---|
14 | > |
---|
15 | |
---|
16 | <span tal:condition="not: rendered_main"> |
---|
17 | <h3>Application Process</h3> |
---|
18 | <br /> |
---|
19 | |
---|
20 | <table tal:define="info_applicants context/getApplicantsStatistics"> |
---|
21 | <tr> |
---|
22 | <td>PCE Applicants (status submitted):</td> |
---|
23 | <td><span tal:replace="info_applicants/submitted_pce" /></td> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <td>Pre-NCE Applicants (status submitted):</td> |
---|
27 | <td><span tal:replace="info_applicants/submitted_prence" /></td> |
---|
28 | </tr> |
---|
29 | <tr> |
---|
30 | <td>All Applicants (status admitted):</td> |
---|
31 | <td><span tal:replace="info_applicants/admitted" /></td> |
---|
32 | </tr> |
---|
33 | <tr> |
---|
34 | <td>All Applicants (status student record created):</td> |
---|
35 | <td><span tal:replace="info_applicants/created" /></td> |
---|
36 | </tr> |
---|
37 | <tr> |
---|
38 | <td>All Applicants (status not admitted):</td> |
---|
39 | <td><span tal:replace="info_applicants/not_admitted" /></td> |
---|
40 | </tr> |
---|
41 | </table> |
---|
42 | |
---|
43 | <br/> |
---|
44 | |
---|
45 | <div class="label">Registration No:</div> |
---|
46 | <input type="text" name="reg_no" size="15" |
---|
47 | /> |
---|
48 | <input type="submit" class="standalone" |
---|
49 | name="search" |
---|
50 | value="Search" |
---|
51 | /> |
---|
52 | </span> |
---|
53 | |
---|
54 | <span tal:condition="rendered_main"> |
---|
55 | <h3>Application Record <span tal:replace="reg_no"/></h3> |
---|
56 | <br /> |
---|
57 | <div tal:replace="structure rendered_main" /> |
---|
58 | |
---|
59 | <input type="hidden" name="reg_no" |
---|
60 | tal:attributes="value reg_no|nothing" |
---|
61 | /> |
---|
62 | <input type="submit" class="standalone" |
---|
63 | name="reset" |
---|
64 | value="Reset" |
---|
65 | tal:condition="python: ds['status'] and 'submitted' in ds['status']" |
---|
66 | /> |
---|
67 | |
---|
68 | |
---|
69 | <input type="submit" class="standalone" |
---|
70 | name="edit" |
---|
71 | value="Save" |
---|
72 | /> |
---|
73 | |
---|
74 | <br /><br /> |
---|
75 | |
---|
76 | |
---|
77 | <div class="label">Registration No:</div> |
---|
78 | <input type="text" name="new_reg_no" size="15" |
---|
79 | /> |
---|
80 | <input type="submit" class="standalone" |
---|
81 | name="search" |
---|
82 | value="Search next" |
---|
83 | /> |
---|
84 | </span> |
---|
85 | </form> |
---|
86 | |
---|
87 | <br/> |
---|
88 | |
---|
89 | <form action="" id="editForm" method="post" |
---|
90 | enctype="multipart/form-data" class="workflow" |
---|
91 | tal:attributes="action string:${context/absolute_url}/apply_admission" |
---|
92 | tal:condition="rendered_main" |
---|
93 | > |
---|
94 | <input type="hidden" name="reg_no" |
---|
95 | tal:attributes="value ds/reg_no|nothing" |
---|
96 | tal:condition="ds/reg_no|nothing"/> |
---|
97 | <input type="submit" |
---|
98 | class="standalone" |
---|
99 | name="manage" |
---|
100 | value="Assume Applicant's Role" |
---|
101 | /> |
---|
102 | </form> |
---|
103 | |
---|
104 | </metal:block> |
---|
105 | </metal:block> |
---|
106 | </metal:block> |
---|
107 | </tal:block> |
---|