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>Number of records viewed:</td> |
---|
23 | <td><span tal:replace="info_applicants/pin_entered" /></td> |
---|
24 | </tr> |
---|
25 | <tr> |
---|
26 | <td>Number of records submitted:</td> |
---|
27 | <td><span tal:replace="info_applicants/submitted" /></td> |
---|
28 | </tr> |
---|
29 | </table> |
---|
30 | |
---|
31 | <br/> |
---|
32 | |
---|
33 | <div class="label">Registration No:</div> |
---|
34 | <input type="text" name="reg_no" size="15" |
---|
35 | /> |
---|
36 | <input type="submit" class="standalone" |
---|
37 | name="search" |
---|
38 | value="Search" |
---|
39 | /> |
---|
40 | </span> |
---|
41 | |
---|
42 | <span tal:condition="rendered_main"> |
---|
43 | <h3>Application Record <span tal:replace="reg_no"/></h3> |
---|
44 | <br /> |
---|
45 | <div tal:replace="structure rendered_main" /> |
---|
46 | |
---|
47 | <input type="hidden" name="reg_no" |
---|
48 | tal:attributes="value reg_no|nothing" |
---|
49 | /> |
---|
50 | <input type="submit" class="standalone" |
---|
51 | name="reset" |
---|
52 | value="Reset" |
---|
53 | tal:condition="python: 'submitted' in ds['status']" |
---|
54 | /> |
---|
55 | |
---|
56 | |
---|
57 | |
---|
58 | |
---|
59 | |
---|
60 | <input type="submit" class="standalone" |
---|
61 | name="edit" |
---|
62 | value="Save" |
---|
63 | /> |
---|
64 | |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | <br /><br /> |
---|
70 | |
---|
71 | |
---|
72 | <div class="label">Registration No:</div> |
---|
73 | <input type="text" name="new_reg_no" size="15" |
---|
74 | /> |
---|
75 | <input type="submit" class="standalone" |
---|
76 | name="search" |
---|
77 | value="Search next" |
---|
78 | /> |
---|
79 | </span> |
---|
80 | </form> |
---|
81 | |
---|
82 | <br/> |
---|
83 | |
---|
84 | <form action="" id="editForm" method="post" |
---|
85 | enctype="multipart/form-data" class="workflow" |
---|
86 | tal:attributes="action string:${context/absolute_url}/apply_admission" |
---|
87 | tal:condition="rendered_main" |
---|
88 | > |
---|
89 | <input type="hidden" name="reg_no" |
---|
90 | tal:attributes="value ds/reg_no|nothing" |
---|
91 | tal:condition="ds/reg_no|nothing"/> |
---|
92 | <input type="submit" |
---|
93 | class="standalone" |
---|
94 | name="manage" |
---|
95 | value="Assume Applicant's Role" |
---|
96 | /> |
---|
97 | </form> |
---|
98 | |
---|
99 | </metal:block> |
---|
100 | </metal:block> |
---|
101 | </metal:block> |
---|
102 | </tal:block> |
---|