source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/accommodationmanagepage.pt @ 7656

Last change on this file since 7656 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.2 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 tal:condition="not: layout/isStudent">&nbsp;</th>
8      <th>Session</th>
9      <th>Booking Date</th>
10      <th>Bed Coordinates</th>
11      <th>Bed Category</th>
12    </tr>
13    </thead>
14    <tbody>
15      <tr tal:repeat="cl context/values">
16         <td tal:condition="not: layout/isStudent">
17          <input type="checkbox"
18                 name="val_id"
19                 tal:attributes="value cl/__name__" />
20        </td>
21        <td> <a tal:attributes="href cl/__name__">
22        <span tal:content="python: cl.getSessionString()">PID</span></a></td>
23        <td tal:content="python: layout.formatDatetime(cl.booking_date)">DATE</td>
24        <td tal:content="cl/bed_coordinates">COORDINATES</td>
25        <td tal:content="cl/bed_type">TYPE</td>
26      </tr>
27    </tbody>
28  </table>
29
30  <div tal:condition="view/availableActions">
31    <span tal:repeat="action view/selected_actions"
32          tal:omit-tag="">
33      <input tal:replace="structure action/render"/>
34    </span>
35  </div>
36</form>
Note: See TracBrowser for help on using the repository browser.