source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_student/contact_student_form.pt @ 17952

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

email from catalog not from app object

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