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

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

Add Views for IBedTicket instances.

To get the old ZODB working, the following commands have to executed in the debug mode:

rootwaeup?configuration?.accommodation_states = []
import transaction
transaction.commit()

(provided that the University instance is called 'waeup').

File size: 1.2 KB
Line 
1<h2 i18n:translate=""
2tal:condition="view/label"
3tal:content="view/label">Label</h2>
4
5<div class="form-status"
6    tal:define="status view/status"
7    tal:condition="status">
8    Form Status:
9    <span i18n:translate="" tal:content="view/status">
10      Form status summary
11    </span>
12</div>
13
14<form action="." tal:attributes="action request/URL" method="POST"
15      class="edit-form" enctype="multipart/form-data">
16
17  <table class="display dataTableManage">
18    <thead>
19    <tr>
20      <th>&nbsp;</th>
21      <th>Id</th>
22    </tr>
23    </thead>
24    <tbody>
25      <tr tal:repeat="cl context/values">
26         <td>
27          <input type="checkbox"
28                 name="val_id"
29                 tal:attributes="value cl/__name__"
30         tal:condition="not: view/unremovable" />
31        </td>
32        <td> <a tal:attributes="href cl/__name__">
33        <span tal:content="cl/__name__">PID</span></a></td>
34      </tr>
35    </tbody>
36  </table>
37
38  <div class="actionButtons" tal:condition="view/availableActions">
39    <span tal:repeat="action view/actions"
40          tal:omit-tag="">
41      <input tal:replace="structure action/render"/>
42    </span>
43  </div>
44</form>
Note: See TracBrowser for help on using the repository browser.