source: main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantssearchpage.pt @ 11079

Last change on this file since 11079 was 10645, checked in by Henrik Bettermann, 11 years ago

Rename buttons.

File size: 1.6 KB
Line 
1<form method="POST" i18n:domain="waeup.kofa">
2<br />
3  <input class="btn primary" type="submit" name="search"
4    tal:attributes="value view/search_button" />
5
6  <select name="searchtype">
7    <option i18n:translate="" value="applicant_id">with id</option>
8    <option i18n:translate="" value="fullname">with name</option>
9    <option i18n:translate="" value="reg_number">with registration number</option>
10    <option i18n:translate="" value="email">with email address</option>
11  </select>
12
13  <input type="text" name="searchterm" />
14
15  <p>&nbsp;</p>
16  <div tal:condition="view/results">
17    <h3 i18n:translate="">Search Results</h3>
18    <input type="hidden" name="old_searchterm"
19         tal:attributes="value view/searchterm" />
20    <input type="hidden" name="old_searchtype"
21         tal:attributes="value view/searchtype" />
22    <table class="display dataTable">
23      <thead>
24      <tr>
25        <th i18n:translate="">Applicant Id</th>
26        <th i18n:translate="">Reg. Number</th>
27        <th i18n:translate="">Application State</th>
28        <th i18n:translate="">Full Name</th>
29      </tr>
30      </thead>
31      <tbody>
32      <tr tal:repeat="item view/results" class="gradeC">
33        <td> <a tal:attributes="href python:view.url(item)">
34          <span tal:content="item/applicant_id">XXXX_1234</span></a>
35        </td>
36        <td class="center">
37          <span tal:content="item/reg_number">9999999</span>
38        </td>
39        <td tal:content="item/state">admitted</td>
40        <td tal:content="item/display_fullname">Bob</td>
41      </tr>
42      </tbody>
43    </table>
44    <br />
45  </div>
46</form>
Note: See TracBrowser for help on using the repository browser.