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