[11254] | 1 | <form method="POST" i18n:domain="waeup.kofa" class="form-inline"> |
---|
[8404] | 2 | <br /> |
---|
[11254] | 3 | <div class="form-group"> |
---|
| 4 | <input class="btn btn-primary" type="submit" name="search" |
---|
| 5 | tal:attributes="value view/search_button" /> |
---|
| 6 | </div> |
---|
| 7 | <div class="form-group"> |
---|
| 8 | <select name="searchtype" class="form-control"> |
---|
| 9 | <option i18n:translate="" value="applicant_id">with id</option> |
---|
| 10 | <option i18n:translate="" value="fullname">with name</option> |
---|
| 11 | <option i18n:translate="" value="reg_number">with registration number</option> |
---|
| 12 | <option i18n:translate="" value="email">with email address</option> |
---|
| 13 | </select> |
---|
| 14 | </div> |
---|
| 15 | <div class="form-group"> |
---|
| 16 | <input type="text" class="form-control" name="searchterm" /> |
---|
| 17 | </div> |
---|
[8404] | 18 | |
---|
[11254] | 19 | <br /><br /> |
---|
[8404] | 20 | <div tal:condition="view/results"> |
---|
| 21 | <h3 i18n:translate="">Search Results</h3> |
---|
| 22 | <input type="hidden" name="old_searchterm" |
---|
| 23 | tal:attributes="value view/searchterm" /> |
---|
| 24 | <input type="hidden" name="old_searchtype" |
---|
| 25 | tal:attributes="value view/searchtype" /> |
---|
[11254] | 26 | <table class="kofa-data-table dataTable"> |
---|
[8404] | 27 | <thead> |
---|
| 28 | <tr> |
---|
| 29 | <th i18n:translate="">Applicant Id</th> |
---|
| 30 | <th i18n:translate="">Reg. Number</th> |
---|
| 31 | <th i18n:translate="">Application State</th> |
---|
| 32 | <th i18n:translate="">Full Name</th> |
---|
| 33 | </tr> |
---|
| 34 | </thead> |
---|
| 35 | <tbody> |
---|
[11254] | 36 | <tr tal:repeat="item view/results"> |
---|
[8404] | 37 | <td> <a tal:attributes="href python:view.url(item)"> |
---|
| 38 | <span tal:content="item/applicant_id">XXXX_1234</span></a> |
---|
| 39 | </td> |
---|
| 40 | <td class="center"> |
---|
| 41 | <span tal:content="item/reg_number">9999999</span> |
---|
| 42 | </td> |
---|
| 43 | <td tal:content="item/state">admitted</td> |
---|
| 44 | <td tal:content="item/display_fullname">Bob</td> |
---|
| 45 | </tr> |
---|
| 46 | </tbody> |
---|
| 47 | </table> |
---|
| 48 | </div> |
---|
| 49 | </form> |
---|