Changeset 1282 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
12 Jan 2007, 10:45:34 (18 years ago)
Author:
Henrik Bettermann
Message:

also shown when no email address provided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/mail_password_form.pt

    r1281 r1282  
    1111      <h3>Mail Authentification Data</h3>
    1212      <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">
     13
    1714      <form id="form1" name="form1" method="post" action="mail2student">
    1815
     
    4845          <td>
    4946              <select name="probtype" class="boxgreen" id="probtype">
    50                 <option>Your SRP Authentification Data</option>
     47                <option>Your SRP Authentication Data</option>
    5148                <option>Your Password</option>
    5249                <option>Your Application PIN</option>
     
    6360          </td>
    6461        </tr>
    65         <tr tal:condition="python: info['email']!='na'">
     62        <tr tal:condition="python: info['email'] and info['email']!='na'">
    6663          <td>&nbsp;</td>
    6764          <td><input name="Submit" type="submit" class="standalone" value="Submit" /><br /><br /></td>
    6865        </tr>
     66
     67        <tr tal:condition="not:info/email">
     68          <td>&nbsp;</td>
     69          <td><strong tal:condition="not:info/email">
     70              The student did not provide an email address.
     71              </strong>
     72          </td>
     73        </tr>       
    6974      </table>
    7075      </form>
     
    7479         <input name="student_id" type="text" size="8">
    7580      </form>     
    76       </span>
     81
    7782    </metal:main>
    7883</metal:body>
Note: See TracChangeset for help on using the changeset viewer.