source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/add_student_form.pt @ 6829

Last change on this file since 6829 was 1426, checked in by Henrik Bettermann, 18 years ago

jamb_reg_no added

  • Property svn:keywords set to Id
File size: 3.2 KB
Line 
1<tal:block define="rendered_main options/rendered;
2           portal_status_message options/psm;
3           info options/ds;
4           mode options/mode;
5           student options/student|nothing;
6           formaction options/formaction|nothing;
7           matric_no options/matric_no|nothing;
8           name options/name|nothing;"
9           >
10  <metal:block define-macro="edit_form">
11    <metal:block use-macro="here/content_lib_master/macros/master">
12      <metal:block fill-slot="header">
13      </metal:block>
14      <metal:block fill-slot="main">
15        <span tal:condition="python: mode == 'view'" tal:omit-tag="">
16        <h3>Notify Student of Authentication Data!</h3>
17        <br />
18          <table>
19            <tr>
20              <td>Student Id:</td>
21              <td tal:content="info/sid" />
22            </tr>               
23            <tr>
24              <td>Password:</td>
25              <td tal:content="info/password" />
26            </tr>               
27            <tr>
28              <td>Name:</td>
29              <td tal:content="student/name" />
30            </tr>               
31            <tr>
32              <td>Sex:</td>
33              <td tal:content="student/sex" />
34            </tr>               
35            <tr>
36              <td>Email:</td>
37              <td tal:content="student/email" />
38            </tr>               
39            <tr>
40              <td>Entry Mode:</td>
41              <td tal:content="student/entry_mode" />
42            </tr>       
43            <tr>
44              <td>Matriculation No:</td>
45              <td tal:content="student/matric_no" />
46            </tr>       
47            <tr>
48              <td>JAMB Registration No:</td>
49              <td tal:content="student/jamb_reg_no" />
50            </tr>                           
51            <tr>
52              <td>Study Course:</td>
53              <td tal:content="student/course" />
54            </tr>       
55            <tr>
56              <td>URL:</td>
57              <td><a tal:attributes="href string:${here/portal_url}/campus/students/${info/sid}">
58                <span tal:content="string:${here/portal_url}/campus/students/${info/sid}" /> 
59              </a></td>
60            </tr>                 
61          </table>
62         <form tal:attributes="action string:${here/portal_url}/campus/students/${info/sid}/mail_password_form" method="post" class="group">
63            <input type="submit" class="context" value="Send Email with Authentication Data" />
64         </form>
65        </span>
66        <span tal:condition="python: mode != 'view'" tal:omit-tag="">
67        <h3>Add Student Record!</h3>
68        <br />
69          <form action="" id="editForm" method="post"
70              enctype="multipart/form-data" class="workflow"
71              tal:attributes="action options/formaction"
72              >
73          <div tal:replace="structure rendered_main" />
74          <br />
75          <input type="submit" class="standalone" name="cpsdocument_edit_button"
76                 value="Save"
77                 id="cpsdocument_edit_button"
78                 tal:attributes="value options/button"
79                 />
80        </form>
81        </span>
82      </metal:block>
83      <metal:block fill-slot="sub">
84      </metal:block>
85    </metal:block>
86  </metal:block>
87</tal:block>
Note: See TracBrowser for help on using the repository browser.