source: WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt @ 1260

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

mail_password_form now available

File size: 2.8 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/getMemberInfo;
5                        ">
6      <span tal:condition="not: info">
7        <span tal:content="here/illegal_view" />
8      </span>                       
9   
10      <span tal:condition="info">
11      <h3>Mail Authentification Data</h3>
12      <br />
13      <span tal:condition="not:info/email">
14      Sorry, the student did not provide an email address.
15      </span>
16      <span tal:condition="info/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/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/Title" />
33          </td>
34        </tr>
35        <tr>
36          <td>
37             <strong>Student's Email: </strong>
38          </td>
39          <td>
40             <span tal:content="info/email" />
41          </td>
42        </tr>
43        <tr>
44          <td>
45             <strong>Subject: </strong>
46          </td>
47          <td>
48              <select name="probtype" class="boxgreen" id="probtype">
49                <option>Your SRP Authentification Data</option>
50                <option>Your Password</option>
51                <option>Your Application PIN</option>
52                <option>Your Student Id</option>
53              </select>       
54          </td>
55        </tr>       
56        <tr>
57          <td valign="top">
58             <strong>Your Message:</strong>
59          </td>
60          <td>
61             <textarea name="commt" rows="10" cols="60" id="commt" tal:content="info/message">
62             </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="mail_next_student" method="post" class="group">
73         <input type="submit" class="context" value="Next Student Id" />
74         <input name="student_id" type="text" size="8">
75      </form>     
76      </span>
77    </metal:main>
78</metal:body>
Note: See TracBrowser for help on using the repository browser.