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

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

redirect to illegal_view.py

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