source: main/waeup.kofa/branches/0.2/src/waeup/kofa/students/browser_templates/enterpin.pt @ 17305

Last change on this file since 17305 was 9952, checked in by Henrik Bettermann, 12 years ago

Some universities bypass access code validation. We can now easily configure this by setting with_ac False.

File size: 1.3 KB
Line 
1<form method="POST" i18n:domain="waeup.kofa">
2  <table class="form-table" tal:condition="view/with_ac">
3    <tbody>
4      <tr>
5        <td i18n:translate="">
6        Activation Code:
7        </td>
8        <td>
9        <span tal:replace="view/ac_prefix">PIN Prefix</span> -
10        <input name="ac_series" type="text" class="span1" maxlength="3"
11               value="" tal:attributes="value view/ac_series"/> -
12        <input name="ac_number" type="text" class="span3" maxlength="10"
13               value="" tal:attributes="value view/ac_number" />
14        <font color="red"><span tal:replace="view/notice">Notice</span>
15        </font>
16        </td>
17      </tr>
18      <tr>
19        <td>&nbsp;</td>
20        <td i18n:translate="">
21        The activation code can be found on the payment slip.
22        </td>
23      </tr>
24      <tr>
25        <td colspan="2">
26          <input type="submit" name="SUBMIT" class="btn primary"
27                 tal:attributes="value view/buttonname" />
28        </td>
29      </tr>
30    </tbody>
31  </table>
32
33  <span tal:omit-tag="" tal:condition="not: view/with_ac">
34    <p i18n:translate="">
35      Your data have been approved. You can continue by
36      clicking the button below.
37    </p>
38    <input type="submit" name="SUBMIT" class="btn primary"
39           tal:attributes="value view/buttonname" />
40  </span>
41</form>
Note: See TracBrowser for help on using the repository browser.