source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt @ 7622

Last change on this file since 7622 was 7464, checked in by Henrik Bettermann, 13 years ago

Move form label to site layout pagetemplates. This saves even more code.

File size: 1.3 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      enctype="multipart/form-data">
3
4  <table class="display dataTableManage">
5    <thead>
6    <tr>
7      <th>&nbsp;</th>
8      <th>Payment Id</th>
9      <th>Creation Date</th>
10      <th>Payment Date</th>
11      <th>Category</th>
12      <th>Item</th>
13      <th>State</th>
14    </tr>
15    </thead>
16    <tbody>
17      <tr tal:repeat="cl context/values">
18         <td>
19          <input type="checkbox"
20                 name="val_id"
21                 tal:attributes="value cl/__name__"
22         tal:condition="python: not view.unremovable(cl)" />
23        </td>
24        <td> <a tal:attributes="href cl/__name__">
25        <span tal:content="cl/p_id">PID</span></a></td>
26        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
27        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
28      <td tal:content ="cl/category">CATEGORY</td>
29      <td tal:content ="cl/p_item">ITEM</td>
30      <td tal:content ="cl/state">STATE</td>
31      </tr>
32    </tbody>
33  </table>
34
35  <div tal:condition="view/availableActions">
36    <span tal:repeat="action view/actions"
37          tal:omit-tag="">
38      <input tal:replace="structure action/render"/>
39    </span>
40  </div>
41</form>
Note: See TracBrowser for help on using the repository browser.