source: WAeUP_SRP/trunk/skins/waeup_student/contact_student_form.pt @ 891

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

contact forms and methods renamed
contact_student_form and method for clearance officer added
clearance_edit swept
some psm edited

Is clearance_view.pt still necessary?

File size: 2.7 KB
Line 
1<metal:html tal:define="member python:context.portal_membership.getAuthenticatedMember();
2                        info context/getStudentInfo;
3                        is_manager info/is_manager|nothing;
4                        is_student info/is_student|nothing;
5                        ">
6  <metal:body use-macro="here/main_template/macros/master">
7    <metal:main fill-slot="main">
8      <span tal:condition="not: info">
9        <metal:block use-macro="here/error_not_found/macros/not_found" />
10      </span>
11   
12      <span tal:condition="info/app_doc/app_email">     
13      <h3>Contact Student</h3>
14      <br />
15      <span tal:condition="info">
16      <span tal:condition="not:info/app_doc/app_email">
17      Sorry, the student did not provide an email address.
18      </span>
19      <form id="form1" name="form1" method="post" action="mail2student">
20
21      <input type="hidden" name="co_name" type="text" id="co_name"
22             tal:attributes="value python:member.getProperty('fullname',None)"/>
23      <input type="hidden" name="co_email" type="text" id="co_email"
24             tal:attributes="value python:member.getProperty('email',None)"/>             
25      <input type="hidden" name="student_email" type="text" id="student_email"
26             tal:attributes="value info/app_doc/app_email"/>                   
27
28      <table width="100%" border="0" cellspacing="5" cellpadding="0">
29        <tr>
30          <td width="150px">
31             <strong>Student's Name: </strong>
32          </td>
33          <td>
34             <span tal:content="info/student/Title" />
35          </td>
36        </tr>
37        <tr>
38          <td>
39             <strong>Student's Email: </strong>
40          </td>
41          <td>
42             <span tal:content="info/app_doc/app_email" />
43          </td>
44        </tr>
45        <tr>
46          <td>
47             <strong>Type of Rejection: </strong>
48          </td>
49          <td>
50              <select name="probtype" class="boxgreen" id="probtype">
51                <option>Clearance request rejected</option>
52              </select>       
53          </td>
54        </tr>       
55        <tr>
56          <td valign="top">
57             <strong>Your Message:</strong>
58          </td>
59          <td>
60             <textarea name="commt" rows="10" cols="60" id="commt"></textarea>
61          </td>
62        </tr>
63        <tr>
64          <td>&nbsp;</td>
65          <td><input name="Submit" type="submit" class="standalone" value="Submit" /><br /><br /></td>
66        </tr>
67      </table>
68      </form>
69      </span>
70      <form action="." method="post" class="group">
71            <input type="submit" name="student_index:method"
72                       class="context" value="Continue" />     
73      </span>
74    </metal:main>
75  </metal:body>
76</metal:html>
Note: See TracBrowser for help on using the repository browser.